Last active
May 8, 2023 14:39
-
-
Save modellking/f42c78a4eb00836a0ee26211b20216e8 to your computer and use it in GitHub Desktop.
docker volume cp [Volume] [Source] [Destination]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker rm $(sudo docker cp $2 $(sudo docker container create -v $1:/root hello-world):/root/$3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment