# \#volumes

**URL:** https://forums.docker.com/tag/volumes/56.md

[Latest](https://forums.docker.com/latest.md) · [Categories](https://forums.docker.com/categories.md) · [Tags](https://forums.docker.com/tags.md)

---

## [Issue with service using NFS volume not starting during boot](https://forums.docker.com/t/issue-with-service-using-nfs-volume-not-starting-during-boot/143759)

<div class="topic-metadata">

**Author:** [@kscrib](https://forums.docker.com/u/kscrib)\
**Replies:** 12\
**Last updated:** [June 14, 2026, 11:58am UTC](https://forums.docker.com/t/issue-with-service-using-nfs-volume-not-starting-during-boot/143759 "2026-06-14T11:58:34Z")

</div>

OS: Ubuntu 24.04 Docker 27.2.1 I am using docker compose. My configuration works fine until the system reboots. Following a reboot, I have to issue: $ docker start when I do that, everything works fine. But I hav…

---

## [NFS share not mounting as volume, but fine manually](https://forums.docker.com/t/nfs-share-not-mounting-as-volume-but-fine-manually/151243)

<div class="topic-metadata">

**Author:** [@pludikovsky](https://forums.docker.com/u/pludikovsky)\
**Replies:** 4\
**Last updated:** [March 4, 2026, 6:29pm UTC](https://forums.docker.com/t/nfs-share-not-mounting-as-volume-but-fine-manually/151243 "2026-03-04T18:29:40Z")

</div>

Facts: Docker Engine 29.1.3 running on Alpine x86\_64 NFS share available via OpenMediaVault Docker Swarm with 3 nodes (1 Master, 2 workers) All nodes are dual-stack with static IPs All Hostnames are resolvable, all rev…

---

## [DinD problem with volumes](https://forums.docker.com/t/dind-problem-with-volumes/151017)

<div class="topic-metadata">

**Author:** [@pedromorais5](https://forums.docker.com/u/pedromorais5)\
**Replies:** 5\
**Last updated:** [February 9, 2026, 5:36pm UTC](https://forums.docker.com/t/dind-problem-with-volumes/151017 "2026-02-09T17:36:23Z")

</div>

I’m running a CI pipeline and using a VS Code devcontainer to execute commands. The pipeline runs inside an agent container, and the repository is checked out there. The problem I’m facing is related to volumes: I can’t…

---

## [Bind mount host permissions](https://forums.docker.com/t/bind-mount-host-permissions/150581)

<div class="topic-metadata">

**Author:** [@kristn1](https://forums.docker.com/u/kristn1)\
**Replies:** 3\
**Last updated:** [December 6, 2025, 10:17pm UTC](https://forums.docker.com/t/bind-mount-host-permissions/150581 "2025-12-06T22:17:50Z")

</div>

Hi, I do not have a technical problem really, just looking for advice: I have a host directory which is dedicated for bind mounts (var/foo). Under that, there is a directory for each user, owned by them and managed by…

---

## [Subpath with NFS volumes](https://forums.docker.com/t/subpath-with-nfs-volumes/145292)

<div class="topic-metadata">

**Author:** [@leonardostumpf](https://forums.docker.com/u/leonardostumpf)\
**Replies:** 16\
**Last updated:** [November 23, 2025, 4:44pm UTC](https://forums.docker.com/t/subpath-with-nfs-volumes/145292 "2025-11-23T16:44:14Z")

</div>

Hello! I’m using Docker Swarm in a homelab and I’m trying to figure out how to proper use the long syntax to mount NFS volumes, as described in Services top-level elements | Docker Docs What I’m observing is the docker…

---

## [Python Settings in order to Run Python in Docker](https://forums.docker.com/t/python-settings-in-order-to-run-python-in-docker/149881)

<div class="topic-metadata">

**Author:** [@sypheit](https://forums.docker.com/u/sypheit)\
**Replies:** 2\
**Last updated:** [September 25, 2025, 5:14pm UTC](https://forums.docker.com/t/python-settings-in-order-to-run-python-in-docker/149881 "2025-09-25T17:14:14Z")

</div>

I am new to Docker and python. I wwant to run my python image in docker but dont know what settings to enter in the run window. see image. Thank you. Finally, if your issue has not been addressed elsewhere, running: …

---

## [Files not being written to bound host directory, data not persisting?](https://forums.docker.com/t/files-not-being-written-to-bound-host-directory-data-not-persisting/149761)

<div class="topic-metadata">

**Author:** [@swizzlevixen](https://forums.docker.com/u/swizzlevixen)\
**Replies:** 5\
**Last updated:** [September 12, 2025, 10:28pm UTC](https://forums.docker.com/t/files-not-being-written-to-bound-host-directory-data-not-persisting/149761 "2025-09-12T22:28:49Z")

</div>

I am starting up a new Gitlab container, and I thought I understood how to use a volume with a bind mount to an existing directory on the host computer, but I’m having trouble figuring out where my files are actually goi…

---

## [Unable able to bind volume to E drive](https://forums.docker.com/t/unable-able-to-bind-volume-to-e-drive/149681)

<div class="topic-metadata">

**Author:** [@geopgin](https://forums.docker.com/u/geopgin)\
**Replies:** 5\
**Last updated:** [September 10, 2025, 9:14pm UTC](https://forums.docker.com/t/unable-able-to-bind-volume-to-e-drive/149681 "2025-09-10T21:14:21Z")

</div>

ENV: Windows 11 - 23H2 - 22631 WSL version: 2.3.24.0 Docker version 28.3.3, build 980b856 I have a number of containers in my stack and they all have no issues binding to the C and D drivers. E drive on the other han…

---

## [Docker Volumes or Bind Mounts?](https://forums.docker.com/t/docker-volumes-or-bind-mounts/149662)

<div class="topic-metadata">

**Author:** [@computerboss](https://forums.docker.com/u/computerboss)\
**Replies:** 0\
**Last updated:** [September 5, 2025, 3:38pm UTC](https://forums.docker.com/t/docker-volumes-or-bind-mounts/149662 "2025-09-05T15:38:25Z")

</div>

Good afternoon everyone, I have been working with Docker on Debian for some time now. (coming from a Synology NAS) I have now created a few containers with Docker volumes, as I have read that there are many advantages, …

---

## [Wrong ownership in volume mount on NixOS host](https://forums.docker.com/t/wrong-ownership-in-volume-mount-on-nixos-host/149652)

<div class="topic-metadata">

**Author:** [@mcnesium](https://forums.docker.com/u/mcnesium)\
**Replies:** 0\
**Last updated:** [September 4, 2025, 9:10am UTC](https://forums.docker.com/t/wrong-ownership-in-volume-mount-on-nixos-host/149652 "2025-09-04T09:10:32Z")

</div>

Trying to use Docker volume mounts on NixOS unstable, I am facing the problem, that the mounted volume inside the container is owned by root instead of the requested user id, and thus the user in the container can neithe…

---

## [Volume types in compose help](https://forums.docker.com/t/volume-types-in-compose-help/148710)

<div class="topic-metadata">

**Author:** [@ltodd2](https://forums.docker.com/u/ltodd2)\
**Replies:** 3\
**Last updated:** [July 7, 2025, 12:14pm UTC](https://forums.docker.com/t/volume-types-in-compose-help/148710 "2025-07-07T12:14:07Z")

</div>

Hi Im fairly new to docker and do have a system running on fedora. Ive realised that its in a bit of a mess as a lot of the containers ive copied config from various sites and the volumes are in all sorts of setup whic…

---

## [Access Mounted Volumes On Ubuntu](https://forums.docker.com/t/access-mounted-volumes-on-ubuntu/148607)

<div class="topic-metadata">

**Author:** [@abstract3000](https://forums.docker.com/u/abstract3000)\
**Replies:** 3\
**Last updated:** [June 26, 2025, 5:50pm UTC](https://forums.docker.com/t/access-mounted-volumes-on-ubuntu/148607 "2025-06-26T17:50:03Z")

</div>

Hello, So deciding after a couple days and soo many searches without little luck to see If someone might be able to help me. I Have a Synology NAS & 3 Folders I enabled NFS on all 3 Directories the Permissions are exp…

---

## [Docker Desktop bind volumes empty on MacOS M1 Mac mini using AFP](https://forums.docker.com/t/docker-desktop-bind-volumes-empty-on-macos-m1-mac-mini-using-afp/147579)

<div class="topic-metadata">

**Author:** [@vk2tds](https://forums.docker.com/u/vk2tds)\
**Replies:** 0\
**Last updated:** [April 11, 2025, 1:10am UTC](https://forums.docker.com/t/docker-desktop-bind-volumes-empty-on-macos-m1-mac-mini-using-afp/147579 "2025-04-11T01:10:29Z")

</div>

I am fairly new to Docker, and am loving it. I am using Docker Desktop 4.40.0 with Docker 28.0.4 on the back end on an M1 Mac mini. I am attempting to attach previously created mounts on my NAS to containers, but the bi…

---

## [How to migrate docker volume from hoste to another host](https://forums.docker.com/t/how-to-migrate-docker-volume-from-hoste-to-another-host/146809)

<div class="topic-metadata">

**Author:** [@azul12](https://forums.docker.com/u/azul12)\
**Replies:** 12\
**Last updated:** [February 22, 2025, 10:42pm UTC](https://forums.docker.com/t/how-to-migrate-docker-volume-from-hoste-to-another-host/146809 "2025-02-22T22:42:13Z")

</div>

HI, I want to migrate a volume from old host to a new host,so I run the container in the new host using docker compose and the app ceates a brand new volumes in /var/lib/docker/volumes/db\_mysql/\_data but I have already …

---

## [An empty node\_modules folder is being created at the host whenever a container is spun up](https://forums.docker.com/t/an-empty-node-modules-folder-is-being-created-at-the-host-whenever-a-container-is-spun-up/146574)

<div class="topic-metadata">

**Author:** [@harsh1gaur](https://forums.docker.com/u/harsh1gaur)\
**Replies:** 1\
**Last updated:** [February 11, 2025, 10:57am UTC](https://forums.docker.com/t/an-empty-node-modules-folder-is-being-created-at-the-host-whenever-a-container-is-spun-up/146574 "2025-02-11T10:57:41Z")

</div>

I am new to docker and trying to understand its behaviour and working. I have been trying to dockerize my node-app. Below is the docker file. Dockerfile: FROM node WORKDIR /app COPY package.json . RUN npm install C…

---

## [Docker compose bind mount with colon & comma in path not working](https://forums.docker.com/t/docker-compose-bind-mount-with-colon-comma-in-path-not-working/146533)

<div class="topic-metadata">

**Author:** [@skrunch](https://forums.docker.com/u/skrunch)\
**Replies:** 4\
**Last updated:** [February 8, 2025, 5:19pm UTC](https://forums.docker.com/t/docker-compose-bind-mount-with-colon-comma-in-path-not-working/146533 "2025-02-08T17:19:03Z")

</div>

I have mounted my google drive folder in Ubuntu using gnome-online-accounts, which ends up being mounted like so: /run/user/1000/gvfs/google-drive:host=my\_host.com,user=my.username Mounting this in a docker container w…

---

## [Mount new volume on existing running container](https://forums.docker.com/t/mount-new-volume-on-existing-running-container/142700)

<div class="topic-metadata">

**Author:** [@arcanisgk](https://forums.docker.com/u/arcanisgk)\
**Replies:** 25\
**Last updated:** [December 26, 2024, 9:19am UTC](https://forums.docker.com/t/mount-new-volume-on-existing-running-container/142700 "2024-12-26T09:19:23Z")

</div>

If I have an existing container and I have created a new volume with this command: docker volume create --driver local --opt type=none --opt device=C:\\test-server --opt o=bind new-volumen-name How can I mount the new v…

---

## [How can i find my volumes in Windows 11?](https://forums.docker.com/t/how-can-i-find-my-volumes-in-windows-11/136934)

<div class="topic-metadata">

**Author:** [@iamoverself](https://forums.docker.com/u/iamoverself)\
**Replies:** 3\
**Last updated:** [December 22, 2024, 12:29am UTC](https://forums.docker.com/t/how-can-i-find-my-volumes-in-windows-11/136934 "2024-12-22T00:29:54Z")

</div>

Hi. I have a simple quection. I just start a new container with a new volume in windows: docker run --name web1 -v htmlvol:/usr/share/nginx/html -p 80:80 -d nginx I see that new volume was created: PS C:\\Temp\\projec…

---

## [Docker cannot access above 100GB for container(s)](https://forums.docker.com/t/docker-cannot-access-above-100gb-for-container-s/140259)

<div class="topic-metadata">

**Author:** [@acxc](https://forums.docker.com/u/acxc)\
**Replies:** 8\
**Last updated:** [December 8, 2024, 4:37pm UTC](https://forums.docker.com/t/docker-cannot-access-above-100gb-for-container-s/140259 "2024-12-08T16:37:08Z")

</div>

using docker version 25.0.4, build 1a576c5 Output of lsblk: sda 8:0 0 12.7T 0 disk ├─sda1 8:1 0 1M 0 part ├─sda2 8:2 0 2G 0 part /boot…

---

## [Mount windows share in a docker container](https://forums.docker.com/t/mount-windows-share-in-a-docker-container/145169)

<div class="topic-metadata">

**Author:** [@maxipetzi](https://forums.docker.com/u/maxipetzi)\
**Replies:** 3\
**Last updated:** [November 28, 2024, 6:44pm UTC](https://forums.docker.com/t/mount-windows-share-in-a-docker-container/145169 "2024-11-28T18:44:27Z")

</div>

I am trying to access a network drive from my docker container, but the mounted directory in the container is shown as empty. The host docker runs on has Windows 10 Enterprise LTSC, Build 17763 (which seems to not suppo…

---

## [How Do I Map A Local Folder To My Container On Windows 11 Docker Desktop?](https://forums.docker.com/t/how-do-i-map-a-local-folder-to-my-container-on-windows-11-docker-desktop/145138)

<div class="topic-metadata">

**Author:** [@alexanderthegreatdocker](https://forums.docker.com/u/alexanderthegreatdocker)\
**Replies:** 8\
**Last updated:** [November 26, 2024, 8:04am UTC](https://forums.docker.com/t/how-do-i-map-a-local-folder-to-my-container-on-windows-11-docker-desktop/145138 "2024-11-26T08:04:33Z")

</div>

Is there a beginners step by step guide or something? I’m super new to this and trying to get a program called LazyLibrarian working but I need it to have access to my books folder. I looked at the official docker stuff …

---

## [Not able to mount shared path (UNC SFTP path) to docker containers](https://forums.docker.com/t/not-able-to-mount-shared-path-unc-sftp-path-to-docker-containers/145109)

<div class="topic-metadata">

**Author:** [@devilyogi](https://forums.docker.com/u/devilyogi)\
**Replies:** 1\
**Last updated:** [November 22, 2024, 4:42pm UTC](https://forums.docker.com/t/not-able-to-mount-shared-path-unc-sftp-path-to-docker-containers/145109 "2024-11-22T16:42:46Z")

</div>

I went through all the internet resources and all AI/GPT help Tried all most all methods to mount the shared sftp path to my docker container. docker run --network host -v //dmns.domain-eg .com/shared:/app -it ubuntu b…

---

## [How to mount local windows folder to K8S container](https://forums.docker.com/t/how-to-mount-local-windows-folder-to-k8s-container/144971)

<div class="topic-metadata">

**Author:** [@paulgittins1643371](https://forums.docker.com/u/paulgittins1643371)\
**Replies:** 2\
**Last updated:** [November 16, 2024, 12:01pm UTC](https://forums.docker.com/t/how-to-mount-local-windows-folder-to-k8s-container/144971 "2024-11-16T12:01:52Z")

</div>

Running Docker Desktop 4.34.2 with Kubernetes v1.30.2 enabled under WIndows 11. I’m struggling to specify the correct path for a local folder on Windows (c:\\foo) to be accessible/mounted to a container managed by K8S. F…

---

## [Persistent Volume Issue](https://forums.docker.com/t/persistent-volume-issue/144960)

<div class="topic-metadata">

**Author:** [@itamarmelamed](https://forums.docker.com/u/itamarmelamed)\
**Replies:** 0\
**Last updated:** [November 14, 2024, 12:47pm UTC](https://forums.docker.com/t/persistent-volume-issue/144960 "2024-11-14T12:47:29Z")

</div>

Hi All, I have Ubuntu 22.04 installed with Docker Desktop 4.35.1 with Kubernetes engine enabled. Docker container with volume mount works perfect but switching to deploy the same container in Kubernetes with persistent…

---

## [Volume migration in case of full disk](https://forums.docker.com/t/volume-migration-in-case-of-full-disk/144551)

<div class="topic-metadata">

**Author:** [@tanatos](https://forums.docker.com/u/tanatos)\
**Replies:** 9\
**Last updated:** [October 28, 2024, 9:58am UTC](https://forums.docker.com/t/volume-migration-in-case-of-full-disk/144551 "2024-10-28T09:58:19Z")

</div>

Hi, I need help and guidance on how to solve this problem. I have an application running in docker with a very big volume size (2TB). I need to migrate it to a different host machine because this one run out of space. …

---

## [Cannot access Nessus when using bind mount in docker compose!](https://forums.docker.com/t/cannot-access-nessus-when-using-bind-mount-in-docker-compose/144164)

<div class="topic-metadata">

**Author:** [@thanhlamuit2020](https://forums.docker.com/u/thanhlamuit2020)\
**Replies:** 4\
**Last updated:** [October 4, 2024, 2:56pm UTC](https://forums.docker.com/t/cannot-access-nessus-when-using-bind-mount-in-docker-compose/144164 "2024-10-04T14:56:49Z")

</div>

Host: Oracle Linux 9.4 Docker compose version: 2.29.7 I am using docker compose to create an nessus container. If I use volume mount, the service run susscessfully. But when I use bind mount to my host folder, the serv…

---

## [Binding named volumes to external drives](https://forums.docker.com/t/binding-named-volumes-to-external-drives/143915)

<div class="topic-metadata">

**Author:** [@hthis](https://forums.docker.com/u/hthis)\
**Replies:** 2\
**Last updated:** [September 22, 2024, 2:25pm UTC](https://forums.docker.com/t/binding-named-volumes-to-external-drives/143915 "2024-09-22T14:25:49Z")

</div>

Hi, I have a Docker compose file in which I define named volumes that my containers use. Recently I ran out of disk space on my VPS and decided to add an external storage medium to the system, and use that as the locati…

---

## [\--volume command works when arguments are reversed](https://forums.docker.com/t/volume-command-works-when-arguments-are-reversed/143855)

<div class="topic-metadata">

**Author:** [@lucenaa](https://forums.docker.com/u/lucenaa)\
**Replies:** 9\
**Last updated:** [September 18, 2024, 4:58pm UTC](https://forums.docker.com/t/volume-command-works-when-arguments-are-reversed/143855 "2024-09-18T16:58:11Z")

</div>

Running a mariadb container with system variables configured using a volume doesn’t work when I pass in the configuration file as a volume using the documented arguments The command that doesn’t work: docker run --name…

---

## [How to create named volume in docker compose file for mounted external ntfs drive?](https://forums.docker.com/t/how-to-create-named-volume-in-docker-compose-file-for-mounted-external-ntfs-drive/143540)

<div class="topic-metadata">

**Author:** [@tamashika](https://forums.docker.com/u/tamashika)\
**Replies:** 7\
**Last updated:** [September 16, 2024, 2:41am UTC](https://forums.docker.com/t/how-to-create-named-volume-in-docker-compose-file-for-mounted-external-ntfs-drive/143540 "2024-09-16T02:41:01Z")

</div>

I have a mounted external ntfs drive to my raspberry pi 4 (mounted at /media/onetouch5t). I use the line in fstab to automount it at startup: UUID=\<not important\> /media/onetouch5t ntfs uid=82,gid=82,auto,nofail,rw 0 …

---

## [What is '/host\_mnt' and why does it not exist on my install?](https://forums.docker.com/t/what-is-host-mnt-and-why-does-it-not-exist-on-my-install/143654)

<div class="topic-metadata">

**Author:** [@blackstrype](https://forums.docker.com/u/blackstrype)\
**Replies:** 3\
**Last updated:** [September 10, 2024, 5:32pm UTC](https://forums.docker.com/t/what-is-host-mnt-and-why-does-it-not-exist-on-my-install/143654 "2024-09-10T17:32:37Z")

</div>

I’m not able to start up my swarm with docker compose. The mount is failing – what I don’t understand is the path used for the mount. ‘/host\_mnt’ does not exist on my system. Is it supposed to ? Also, what’s up with the…

[Next page](https://forums.docker.com/tag/volumes/56.md?match_all_tags=true&page=1&tags%5B%5D=volumes)
