Skip to content

Commit

Permalink
Merge pull request #2794 from DGGua/general-devel
Browse files Browse the repository at this point in the history
fix docker example code
  • Loading branch information
hakusaro authored Nov 3, 2022
2 parents 98cca7a + 3af529d commit 1ff3088
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

Expand Down

0 comments on commit 1ff3088

Please sign in to comment.