mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Typo in dockervolumes.md line 141?
This commit is contained in:
parent
ff28b0b919
commit
9503afbc91
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ contents of the `dbdata` volume to a `backup.tar` file inside our
|
||||||
`/backup` directory. When the command completes and the container stops
|
`/backup` directory. When the command completes and the container stops
|
||||||
we'll be left with a backup of our `dbdata` volume.
|
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
|
You could then restore it to the same container, or another that you've made
|
||||||
elsewhere. Create a new container.
|
elsewhere. Create a new container.
|
||||||
|
|
||||||
$ sudo docker run -v /dbdata --name dbdata2 ubuntu /bin/bash
|
$ sudo docker run -v /dbdata --name dbdata2 ubuntu /bin/bash
|
||||||
|
|
Loading…
Add table
Reference in a new issue