Docker Tips

Search & Pull image

$ docker search shadowsocks
$ docker pull shadowsocks/shadowsocks-libev
$ docker image list
...

Enter docker

$ docker exec -it [ID] sh

Show running container

$ docker container ls

Kill a container

docker kill [CONTAINER ID]

Copy file to container

$ docker cp config.json 144c1b6c5482:/