qqqqq

D:\woker\liuyayun>docker build -t 47.100.62.192:5000/center:19.7.23.2 .
Sending build context to Docker daemon  87.66MB
Step 1/7 : FROM java:8
 ---> d23bdf5b1b1b
Step 2/7 : VOLUME /tmp
 ---> Using cache
 ---> 51aa1f8ecc1c
Step 3/7 : RUN echo "Asia/Shanghai" > /etc/timezone
 ---> Using cache
 ---> f5d12e1442fc
Step 4/7 : ADD *.war app.war
ADD failed: no source files were specified

D:\woker\liuyayun>docker build -t 47.100.62.192:5000/center:19.7.23.2 .
Sending build context to Docker daemon  87.66MB
Step 1/7 : FROM java:8
 ---> d23bdf5b1b1b
Step 2/7 : VOLUME /tmp
 ---> Using cache
 ---> 51aa1f8ecc1c
Step 3/7 : RUN echo "Asia/Shanghai" > /etc/timezone
 ---> Using cache
 ---> f5d12e1442fc
Step 4/7 : ADD *.jar app.jar
 ---> 2c1b5f623860
Step 5/7 : RUN bash -c 'touch /app.jar'
 ---> Running in 76536ca32451
Removing intermediate container 76536ca32451
 ---> 6cac852f2077
Step 6/7 : EXPOSE 8092
 ---> Running in ecc258b2d003
Removing intermediate container ecc258b2d003
 ---> 9fc8a26c43a3
Step 7/7 : ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
 ---> Running in 166804aba667
Removing intermediate container 166804aba667
 ---> f860e0ebb222
Successfully built f860e0ebb222
Successfully tagged 47.100.62.192:5000/center:19.7.23.2
SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories.

D:\woker\liuyayun>docker push 47.100.62.192:5000/center:19.7.23.2
The push refers to repository [47.100.62.192:5000/center]
d16d6b56b1fb: Pushed
7ffb2f5c0889: Pushed
01007b1c1647: Layer already exists
35c20f26d188: Layer already exists
c3fe59dd9556: Layer already exists
6ed1a81ba5b6: Layer already exists
a3483ce177ce: Layer already exists
ce6c8756685b: Layer already exists
30339f20ced0: Layer already exists
0eb22bfb707d: Layer already exists
a2ae92ffcd29: Layer already exists
19.7.23.2: digest: sha256:d092616c75a990f7941572f79f429c62a3e0cdc29f3f174fb07685fc3f8fb38b size: 2631

D:\woker\liuyayun
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值