docker pull
    docker save * >.tar
    ctr cri load **.tar

    这个比较靠谱

    docker run -t -i -d —name vm01 —net=none —privileged burlyluo/nettoolbox:v1 /bin/bash

    这个镜像是 alpline,没法启动docker

    APK安装报错ERROR: unsatisfiable constraints:
    mysql-client (missing):
    required by: world
    如果碰到上面类似的报错,那是当前的软件源有问题,建议换个源,我在安装docker、go和mysql的时候都遇到类似的”required by: world”的错误无法安装,一筹莫展好几天,直到我换了中科大的源。
    编辑
    /etc/apk/repositories
    然后在文件的最顶端添加(注意将3.3换成需要的版本)
    http: //mirrors.ustc.edu.cn /alpine/v3.3/main/

    docker 装上了 不能启动,不能解决

    alpline 用的 rc-update openrc rc-status 管理服务,没弄明白 ,试验 calico-bpf只好告一段落

    docker run busybox
    docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
    See ‘docker run —help’.
    bash-5.0# service docker start
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/blkio/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/cpu/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/cpu,cpuacct/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/cpuacct/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/cpuset/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/devices/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/freezer/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/hugetlb/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/memory/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/net_cls/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/net_cls,net_prio/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/net_prio/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/perf_event/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/pids/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/rdma/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/systemd/tasks: Read-only file system
    You are attempting to run an openrc service on a
    system which openrc did not boot.
    You may be inside a chroot or you may have used
    another initialization system to boot this system.
    In this situation, you will get unpredictable results!
    If you really want to do this, issue the following command:
    touch /run/openrc/softlevel
    ERROR: sysfs failed to start
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/blkio/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/cpu/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/cpu,cpuacct/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/cpuacct/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/cpuset/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/devices/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/freezer/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/hugetlb/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/memory/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/net_cls/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/net_cls,net_prio/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/net_prio/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/perf_event/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/pids/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/rdma/tasks: Read-only file system
    /lib/rc/sh/openrc-run.sh: line 100: can’t create /sys/fs/cgroup/systemd/tasks: Read-only file system
    You are attempting to run an openrc service on a
    system which openrc did not boot.
    You may be inside a chroot or you may have used
    another initialization system to boot this system.
    In this situation, you will get unpredictable results!
    If you really want to do this, issue the following command:
    touch /run/openrc/softlevel
    ERROR: cgroups failed to start
    * ERROR: cannot start docker as sysfs would not start