docker创建私人仓库

sudo docker run -d -p 5000:5000 -v /dockerimages/registry:/tmp/registry registry


无法http上传请参考:

https://blog.csdn.net/bxzhu/article/details/73253032

我的server文件

/sys/fs/cgroup/pids/system.slice/docker.service

/sys/fs/cgroup/devices/system.slice/docker.service

/sys/fs/cgroup/cpu,cpuacct/system.slice/docker.service

/sys/fs/cgroup/blkio/system.slice/docker.service

/sys/fs/cgroup/memory/system.slice/docker.service

/sys/fs/cgroup/systemd/system.slice/docker.service

/sys/fs/cgroup/unified/system.slice/docker.service

/etc/systemd/system/multi-user.target.wants/docker.service

/lib/systemd/system/docker.service

/var/lib/lxcfs/cgroup/pids/system.slice/docker.service

/var/lib/lxcfs/cgroup/devices/system.slice/docker.service

/var/lib/lxcfs/cgroup/cpu,cpuacct/system.slice/docker.service

/var/lib/lxcfs/cgroup/blkio/system.slice/docker.service

/var/lib/lxcfs/cgroup/memory/system.slice/docker.service

/var/lib/lxcfs/cgroup/name=systemd/system.slice/docker.service

/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/docker.service


好吧 我根本不知道改哪个改了/etc/systemd/system/multi-user.target.wants/docker.service并没有什么用


还有这种办法:

https://www.cnblogs.com/lin1/p/6207348.html

成功

你可能感兴趣的:(docker创建私人仓库)