DockerUI安装使用
主机环境
[root@test01 ~]# uname -a
Linux test01 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@test01 ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
安装
[root@test01 ~]# docker pull uifd/ui-for-docker
Using default tag: latest
latest: Pulling from uifd/ui-for-docker
841194d080c8: Pull complete
Digest: sha256:ebeeeffb95b6a52203d43fbf5ede9de591efdef98f4e0ae112c7cd4d55e4119f
Status: Downloaded newer image for uifd/ui-for-docker:latest
[root@test01 ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
uifd/ui-for-docker latest 965940f98fa5 23 months ago 8.1MB
[root@test01 ~]# docker run -it -d --name docker-web -p 1000:9000 -v /var/run/docker.sock:/var/run/docker.sock uifd/ui-for-docker
[root@test01 ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d41d20a4a0a8 uifd/ui-for-docker "/ui-for-docker" 11 seconds ago Up 10 seconds 9000/tcp, 0.0.0.0:1000->5000/tcp docker-web
启动
docker start ebeeeffb95b6a52203d43fbf5ede9de591efdef98f4e0ae112c7cd4d55e4119f
访问
http://IP:1000/#/