Files
oam/knowledge base/docker.md
2022-04-17 23:53:56 +02:00

489 B

Docker

TL;DR

# run a container
docker run --rm hello-world

# run a container and gite it a volume and variables
docker run -d --name boinc --net=host --pid=host -v "${HOME}/boinc:/var/lib/boinc" -e BOINC_GUI_RPC_PASSWORD="123" -e BOINC_CMD_LINE_OPTIONS="--allow_remote_gui_rpc" boinc/client

# show containers status
docker ps --all

# cleanup
docker system prune

Further readings