Check the containers status:

docker ps -a

Restart all containers:

sudo docker restart $(docker ps -a -q)

See the logs:

docker logs XXXXXXX
docker logs -f --tail 100 XXXXXXX

Delete a container:

docker stop
docker rm

Get file from docker to host:

First get the container id with:

docher ps

Then execute:

docker cp COTAINER_ID:/tmp/file.jpg ~/file.jpg