mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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 ~~~
This commit is contained in:
parent
01d4fd76dd
commit
9026888b10
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue