You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker volume ls
docker volume create test-vol
docker volume ls
docker volume inspect test-vol
Storage volumes in container einhängen
# Schritt 1
docker run --rm -it --name container-test-vol --mount type=volume,target=/test_data,source=test-vol ubuntu bash
1234ad# touch /test_data/README
exit
# stops container
docker container ls -a
# Schritt 2:
# create new container and check for /test_data/README
docker run --rm -it --name=container-test-vol2 --mount type=volume,target=/test_data,source=test-vol ubuntu bash
ab45# ls -la /test_data/README