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

316
Visualizações
Docker on Windows and Samba/CIFS

I am curious if there is any easier way to accomplish what I finally got working: A Docker container on Windows with a cifs/smb/samba volume mount.

The only way I could get this working was to setup a VM (Ubuntu), use a docker plugin (NetShare), and then configure everything appropriately with a user account and permissions (setup a new user on the ubuntu VM with similar PUID and PGID IDs as the user who can read/write on the smb share). I then had to ensure the container started up with the correct PUID and GUID, like the sonarr docker image mentions: linuxserver/sonarr

I tried to use fstab, autofs, and straight up mount -t cifs commands in the Dockerfile but it doesn't sound like this is possible since you can't mount in a virtualized process like a container based on what I read.

about 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

This is exactly what I was trying to do: https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/container-storage#smb-mounts

Note: It is only available on Windows Server 2016 (1709)

about 4 years ago · Santiago Trujillo Relatório

0

It's not that hard to accomplish what you need.

Here is my approach:

  1. I've set up a VM with Ubuntu and then i followed the install Sonarr using Docker guide from here
  2. I created a shared folder using windows sharing
  3. I configured Sonarr to use the shared folder with the correct username and password.

Please note that you can also install Sonarr on Docker using Kitematic GUI if you don't want to create the Ubuntu VM. This way, you will be able to set your paths directly in kitematic.

Also, make sure you keep an eye on the network settings section in Kitematic, if you choose to do it this way.

Good Luck!

about 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