docker
Echo侯
一个有格局的正太
展开
-
记录一次windows推送私仓的报unauthorized to access repository的解决过程
装了windows的Docker desktop,建立了Harbor私仓,奇怪的是用命令行docker login后,pull和Push均正常。但是用maven的dockerfile-maven-plugin插件push就会报unauthorized to access repository:action:push证书也装了,依旧是这个问题,最终发现,在 c:\C:\Users\Your Name\.docker下的config.json中,有一个auths配置;...原创 2020-12-10 12:41:27 · 15202 阅读 · 0 评论 -
记录一下构造的项目镜像
#!/bin/bashmkdir /home/qindao_buildcd /home/qindao_buildtouch Dockerfileecho 'FROM centosENV container dockerRUN yum update -y && \mkdir /home/package && \cd /home/package &...原创 2019-05-25 16:15:08 · 153 阅读 · 0 评论 -
systemctl Failed to get D-Bus connection: Operation not permitted
FROM centos:7ENV container dockerRUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \systemd-tmpfiles-setup.service ] || rm -f $i; done); \rm -f /lib/systemd/system/multi-u...原创 2019-05-22 20:07:36 · 2056 阅读 · 0 评论