Deploying Zixi Products Using ...
...
How to Deploy Zixi Broadcaster...
Zixi Software Containers
Miscellaneous Docker Commands
8 min
below are a minimal set of docker commands that you need to know to work with containers to open a shell window on an existing running container use the following command with the container id from the docker ps results docker exec it \[container id or name] /bin/bash to stop a running container use the following command docker stop \[container id or name] docker stop stops all processes running in the container meaning any data in memory is lost and there is no cpu consumption, but the filesystem state of the container is preserved it also shuts down the docker engine process on the host this is similar to turning off a computer docker start will restart the docker engine, restore from the saved filesystem state, and relaunch processes zixi licenses are preserved when containers are stopped and started to start a stopped container use the following command docker start \[container id or name] to pause a running container use the following command docker pause \[container id or name] docker pause freezes all processes running in the container memory state is preserved as well as filesystem states, but there is no cpu consumption the docker engine process on the host remains active this is similar to a computer in sleep mode docker unpause will unfreeze the processes running in the container zixi licenses are preserved when containers are paused and unpaused to unpause a paused container use the following command docker unpause \[container id or name] to remove a container use the following command docker rm \[container id or name] removing a docker container is similar to wiping the hard drive of a computer and the file system will no longer exist note, if the host where the docker container is running reboots, that has the same implications as removing a container the container’s file system will not be preserved and a new container must be started from the docker image after you have removed the container that uses an image, you can remove the image to remove an image use the following command docker image rm \[image id or name]