Working with Containers

docker top

With this command, you can see the top processes within a container.

docker top ContainerID

docker rm

This command is used to delete a container.

docker rm ContainerID 

docker stats

This command is used to provide the statistics of a running container.

docker stats ContainerID 

docker attach

This command is used to attach to a running container.

docker attach ContainerID 

docker pause

This command is used to pause the processes in a running container.

docker pause ContainerID 

docker unpause

This command is used to unpause the processes in a running container.

docker kill

This command is used to kill the processes in a running container.

Check Help menu for all options

Last updated