19 lines
686 B
Markdown
19 lines
686 B
Markdown
|
```shell
|
||
|
# 打包
|
||
|
docker buildx build . --tag 172.21.13.108:80/platform-v3/jeecg-boot-system:3.1.0923-mdm
|
||
|
# 登陆认证
|
||
|
root@shixiaohua:/run/containerd# docker login http://172.21.13.108:80
|
||
|
Username: admin
|
||
|
Password:
|
||
|
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
|
||
|
Configure a credential helper to remove this warning. See
|
||
|
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
|
||
|
|
||
|
Login Succeeded
|
||
|
# 打标签 docker tag imageId ip:port/name:version
|
||
|
docker tag 4d69ba36298c 172.21.13.108:80/platform-v3/jeecg-boot-system:3.1.0922-mdm
|
||
|
# 推送远程仓库
|
||
|
docker push 172.21.13.108:80/platform-v3/jeecg-boot-system:3.1.0922-mdm
|
||
|
```
|
||
|
|