Merge pull request #2794 from DGGua/general-devel
fix docker example code
This commit is contained in:
commit
1ff308876e
1 changed files with 2 additions and 2 deletions
|
|
@ -15,14 +15,14 @@ Open ports can also be passed through using `-p <host_port>:<container_port>`.
|
|||
For Example:
|
||||
```bash
|
||||
# Building the image
|
||||
docker build -t tshock:linux/amd64 --build-arg TARGETPLATFORM=linux/amd64 .
|
||||
docker build -t tshock:linux-amd64 --build-arg TARGETPLATFORM=linux/amd64 .
|
||||
|
||||
# Running the image
|
||||
docker run -p 7777:7777 -p 7878:7878 \
|
||||
-v /home/cider/tshock/:/tshock \
|
||||
-v /home/cider/.local/share/Terraria/Worlds:/worlds \
|
||||
-v /home/cider/tshock/plugins:/plugins \
|
||||
--rm -it tshock:linux/amd64 \
|
||||
--rm -it tshock:linux-amd64 \
|
||||
-world /worlds/backflip.wld -motd "OMFG DOCKER"
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue