找了几个教程,安装都是不行,状态总是重启中,到底是哪出问题了啊,试了好几次都是这问题,都是按教程步骤来的了
root@hinas:~# docker import openwrt.tar.gz cat_openwrt
sha256:41a9254860a46f7eabeb8dd04a4463caef4f7a6b689289aa82f83e7125dc00d1
root@hinas:~# docker run --restart always --name openwrt -d --network macnet --privileged=true cat_openwrt /sbin/init
13b8ca4f09fe52d67346d1a7be8e55e69c71af0d511d7fa9548f73eff5d70f02
root@hinas:~# docker exec -it openwrt sh
Error response from daemon: Container 13b8ca4f09fe52d67346d1a7be8e55e69c71af0d511d7fa9548f73eff5d70f02 is restarting, wait until the container is running
root@hinas:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
13b8ca4f09fe cat_openwrt "/sbin/init" About a minute ago Restarting (1) 3 seconds ago openwrt
403d901f224c registry.cn-hangzhou.aliyuncs.com/histb/portainer:2.14.0 "/portainer" 3 days ago Up 23 hours Portainer
61b00be8203d registry.cn-hangzhou.aliyuncs.com/histb/qinglong:latest "./docker/docker-ent…" 3 days ago Up 23 hours 0.0.0.0:5700->5700/tcp, :::5700->5700/tcp ql