must use ssh shell
docker rm <container>
remove docker container
stop docker
docker rename <container> my-container
– Rename a specified container to my-container
.
docker pause <container>
and docker unpause <container>
– Pause and unpause the processes running within a specific container.
docker stop <container>
– Stop a running container.
docker start <container>
– Start a previously stopped container.
docker rm <container>
– Delete a container by its ID or name. Use the -f
(force) flag to delete a container that’s currently running.
reomove folder and its contents
rm -rf directoryname