![]() The volume itself does not exist on the target machine yet. The Docker daemon streamed that output to the Docker client, which sent it to your terminal. Need a springboard Check out these Docker awesome-compose applications that leverage. You’ll find even deeper instructions for enhancing your database setup on our Postgres GitHub page. Swing by Docker Hub and pull your first Postgres Docker Official Image to start experimenting. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading. Overall, Dockerizing Postgres locally has many advantages. Sudo docker create -name broadsea-atlasdb broadsea-atlasdbĮrror response from daemon: cannot mount volume over existing file, file exists /datos/docker/overlay2/ce076849ec5987a70b2d6b63f6b705f841579ac0e5f565fcc15ef36a5d9c996d/merged/docker-entrypoint-initdb.d/100_populate_source_source_daimon.sql The Docker daemon pulled the 'hello-world' image from the Docker Hub. Sudo docker create -name broadsea-atlasdb -v /datos/broadsea/atlasdb-postgres-data:/var/lib/postgresql/data -entrypoint "/bin/true" broadsea-atlasdb ![]() I have tried all the following commands and all give me the same error sudo docker create -name broadsea-atlasdb -v /datos/broadsea/atlasdb-postgres-data:/var/lib/postgresql/data broadsea-atlasdb I also been able to save broadsea-atlasdb image to the target machine and load it there. I have been able to export the contents of the atlasdb-postgres-data volume and extract it on the target machine. 100_populate_source_source_daimon.sql:/docker-entrypoint-initdb.d/100_populate_source_source_daimon.sql:ro atlasdb-postgres-data:/var/lib/postgresql/data ![]() On the docker-compose.yml, the problematic container (broadsea-atlasdb) has the following volume declared. I am following the steps in this answer but I'm having problems replicating the defined volumes and running the images in the target machine. I am trying to get a set of containers/images (from ) on a machine without access to the internet, so compose will not work.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |