mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-09-03 20:55:05 +00:00
docs: added inspect command to see anonymous volume path
This commit is contained in:
@@ -244,6 +244,8 @@ If you had used the commands in the first section, without the `-v` volume attac
|
|||||||
|
|
||||||
> In this example, it is assumed the original container was given a `--name` of "mc", so change the container identifier accordingly.
|
> In this example, it is assumed the original container was given a `--name` of "mc", so change the container identifier accordingly.
|
||||||
|
|
||||||
|
> You can also locate the Docker-managed directory from the `Source` field obtained from `docker inspect <container id or name> -f "{{json .Mounts}}"`
|
||||||
|
|
||||||
First, stop the existing container:
|
First, stop the existing container:
|
||||||
```shell
|
```shell
|
||||||
docker stop mc
|
docker stop mc
|
||||||
|
|||||||
Reference in New Issue
Block a user