Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

270
Visualizações
How do I run a Docker container on a USB drive?

Suppose we have the Linux OS installed on two identical machines that supports the version of latest Docker. Then suppose we build a container image based on this OS. We can assume this image will now run on either machine. We now put this image onto a USB drive and plug it in the other identical machine.

Now, the hard part... is it possible, using that image on the USB drive to run the container on the same USB drive itself while plugged into the machine?

I'm trying to save and/or minimize memory used by the host OS by utilizing the memory on the USB drive as much as possible.

If this is possible, how would I go about setting up a demo case?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I see this question as "how do I persist Docker data on a USB device?".

On your machines, you need to mount your USB device into /var/docker. And then restart your Docker service.

However, with this solution, when you unplug the USB device, all of the containers have to be stopped. Otherwise, data will be lost.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda