fix docker docs for changes in Dockerfile
This commit is contained in:
parent
d38046d74b
commit
78880836c3
1 changed files with 3 additions and 3 deletions
|
|
@ -15,14 +15,14 @@ Open ports can also be passed through using `-p <host_port>:<container_port>`.
|
||||||
For Example:
|
For Example:
|
||||||
```bash
|
```bash
|
||||||
# Building the image
|
# Building the image
|
||||||
docker build -t tshock:linux-x64 --build-arg TARGETPLATFORM=linux-x64 .
|
docker build -t tshock:linux/amd64 --build-arg TARGETPLATFORM=linux/amd64 .
|
||||||
|
|
||||||
# Running the image
|
# Running the image
|
||||||
docker run -p 7777:7777 -p 7878:7878 \
|
docker run -p 7777:7777 -p 7878:7878 \
|
||||||
-v /home/cider/tshock/:/tshock \
|
-v /home/cider/tshock/:/tshock \
|
||||||
-v /home/cider/.local/share/Terraria/Worlds:/worlds \
|
-v /home/cider/.local/share/Terraria/Worlds:/worlds \
|
||||||
-v /home/cider/tshock/plugins:/plugins \
|
-v /home/cider/tshock/plugins:/plugins \
|
||||||
--rm -it tshock:linux-x64 \
|
--rm -it tshock:linux/amd64 \
|
||||||
-world /worlds/backflip.wld -motd "OMFG DOCKER"
|
-world /worlds/backflip.wld -motd "OMFG DOCKER"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -42,4 +42,4 @@ docker run -p 7777:7777 -p 7878:7878 \
|
||||||
-v /home/cider/tshock/plugins:/plugins \
|
-v /home/cider/tshock/plugins:/plugins \
|
||||||
--rm -it tshock:linux-arm64 \
|
--rm -it tshock:linux-arm64 \
|
||||||
-world /worlds/backflip.wld -motd "ARM64 ftw"
|
-world /worlds/backflip.wld -motd "ARM64 ftw"
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue