"--tty" is not needed

This commit is contained in:
Héctor Molinero Fernández
2020-03-02 21:29:16 +01:00
parent 0e4a1171f8
commit ca6db03334
3 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ A Docker image based on Ubuntu 18.04 with the Xfce desktop environment,
```sh
docker run \
--name xubuntu \
--detach --tty \
--detach \
--shm-size 2g \
--publish 3322:3322/tcp \
--publish 3389:3389/tcp \

View File

@@ -35,7 +35,7 @@ printf -- '%s\n' "Creating \"${CONTAINER_NAME:?}\" container..."
"${DOCKER:?}" run \
--name "${CONTAINER_NAME:?}" \
--hostname "${CONTAINER_NAME:?}" \
--detach --tty \
--detach \
--privileged \
--shm-size 2g \
--publish 3322:3322/tcp \

2
run.sh
View File

@@ -35,7 +35,7 @@ printf -- '%s\n' "Creating \"${CONTAINER_NAME:?}\" container..."
"${DOCKER:?}" run \
--name "${CONTAINER_NAME:?}" \
--hostname "${CONTAINER_NAME:?}" \
--detach --tty \
--detach \
--shm-size 2g \
--publish 3322:3322/tcp \
--publish 3389:3389/tcp \