Update dockervolumes.md
~~~ kyu@kyu-HP-EliteBook-2570p:~/apps/docker/volume$ docker run -v /dbdata --name dbdata2 ubuntu 2014/06/25 14:17:44 Error response from daemon: No command specified ~~~ Upstream-commit: 9026888b109e6dd1042259ffd9e707d9e5f76d34 Component: engine
This commit is contained in:
@ -122,7 +122,7 @@ we'll be left with a backup of our `dbdata` volume.
|
||||
You could then to restore to the same container, or another that you've made
|
||||
elsewhere. Create a new container.
|
||||
|
||||
$ sudo docker run -v /dbdata --name dbdata2 ubuntu
|
||||
$ sudo docker run -v /dbdata --name dbdata2 ubuntu /bin/bash
|
||||
|
||||
Then un-tar the backup file in the new container's data volume.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user