lokisho - Overview

1

docker container run --publish[allow to listen] 8080:80[host_port:container_port] --name[optional for listing] webhost -d[detached] nginx:1.11[optional image version] nginx [image]

2

--env [to pass environment variables]

3

docker container logs [to view the logs of the container, useful to get mysql password for example]

4

docker container stop NAME [stops container, space separated to stop multiple containers]

5

docker container ls [list containers] -a [all]