常用docker命令

重启指定容器

重启名为nginx的容器

$ sudo docker restart nginx

查看当前启动的docker信息

$ sudo docker info