您的位置:首页 > 运维架构 > Docker

Docker查看 启动容器

2016-04-07 10:52 756 查看
Starting "default"...
(default) Check network to re-create if needed...
(default) Waiting for an IP...
Machine "default" was started.
Waiting for SSH to be available...
Detecting the provisioner...
Started machines may have new IP addresses. You may need to re-run the `docker-m
achine env` command.
Regenerate TLS machine certs?  Warning: this is irreversible. (y/n): Regeneratin
g TLS certificates
Waiting for SSH to be available...
Detecting the provisioner...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...

##         .
## ## ##        ==
## ## ## ## ##    ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
\______ o           __/
\    \         __/
\____\_______/

docker is configured to use the default machine with IP 192.168.99.100
For help getting started, check out the docs at https://docs.docker.com 
han@han-PC MINGW64 ~
$

han@han-PC MINGW64 ~
$ docker images
REPOSITORY                            TAG                 IMAGE ID            CR
EATED             SIZE
lamp2                                 latest              2fe057dee064        2
weeks ago         448.7 MB
registry.aliyuncs.com/iterator/lamp   latest              2fe057dee064        2
weeks ago         448.7 MB
tutum/lamp                            latest              3d49e175ec00        7
weeks ago         427 MB
registry.aliyuncs.com/wow/tomcat      latest              b92cfb2f2182        5
months ago        501.4 MB

han@han-PC MINGW64 ~
$ dokcer ps -a
bash: dokcer: command not found

han@han-PC MINGW64 ~
$ docker ps -a
CONTAINER ID        IMAGE                              COMMAND             CREAT
ED             STATUS                     PORTS
NAMES
34202567aa93        registry.aliyuncs.com/wow/tomcat   "catalina.sh run"   2 wee
ks ago         Exited (137) 2 weeks ago   0.0.0.0:8080->8080/tcp
tomcat
0d23644093ae        lamp2                              "/run.sh"           2 wee
ks ago         Exited (137) 2 weeks ago   0.0.0.0:3306->3306/tcp, 0.0.0.0:8080->
80/tcp   mad_wozniak

han@han-PC MINGW64 ~
$ docker start tomcat
tomcat

han@han-PC MINGW64 ~
$

                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: