拉取kodbox镜像
[root@docker ~]# docker pull kodcloud/kodbox
Using default tag: latest
latest: Pulling from kodcloud/kodbox
latest: Pulling from kodcloud/kodbox
213ec9aee27d: Pull complete
a600fdbc30cc: Pull complete
0cdd6cb15c0d: Pull complete
8a4c40d8aee7: Pull complete
071c04e5f454: Pull complete
92309f44618e: Pull complete
36f8a8c87311: Pull complete
715afc088a7c: Pull complete
a53434f202d9: Pull complete
3bfc1cf6f126: Pull complete
8d192085a73d: Pull complete
178fb9e5cdc6: Pull complete
556b39287194: Pull complete
b97326bfb5b4: Pull complete
2fdc25762b8e: Pull complete
8e5b5b907a2e: Pull complete
b1b9edede052: Pull complete
7b5a68421acc: Pull complete
9afc89d9d576: Pull complete
aa5ce15ca252: Pull complete
51ecbd521179: Pull complete
Digest: sha256:dcba6962e04ec9bb586baa46dcee49d5d18c31e2012b69ced547e182059a54c4
Status: Downloaded newer image for kodcloud/kodbox:latest
docker.io/kodcloud/kodbox:latest
创建文件夹并启动kodbox
[root@docker ~]# mkdir /opt/docker/kodcloud
[root@docker ~]# docker run -d -p 1111:80 -v /opt/docker/kodcloud/:/var/www/html --restart=always kodcloud/kodbox
4a1d3e750c8ee66e062c4d8701beb43f466df2f6b614cea3cced0094b1ec3bd1
访问
配置相关信息
第一步的环境检测默认就行,直接点下一步
第二步也默认,然后点确定
设置管理员账号和密码