# docker login XX.tencentcloudcr.com --username 10*******9 --password XXXXXXXX WARNING! Using--password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencryptedin /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 retail-apline-jdk-iptables:v0.0.0 XX.tencentcloudcr.com/retail/retail-apline-jdk-iptables:v0.0.0
# docker push XX.tencentcloudcr.com/retail/retail-apline-jdk-iptables:v0.0.0 The push refers to repository [XX.tencentcloudcr.com/retail/retail-apline-jdk-iptables] f5baedc01474: Pushed ec492e08774f: Pushed 8a25136c0f9e: Pushed d2b392ab3f1b: Pushed 382bfee21a0d: Mounted from prod/registry-server 3aaca7e95311: Mounted from test/user-center e8868a909fb5: Mounted from test/user-center e874f7e70fff: Mounted from test/user-center 6f54606e6969: Mounted from test/user-center a464c54f93a9: Mounted from test/user-center v0.0.0: digest: sha256:d48890d9202928c2ca0cb2022068d4a0d2eaaddf02f6b628d145e5343c0c04af size: 2418
# sh /usr/local/rocketmq-all-4.5.2-bin-release/bin/mqbroker -c /usr/local/rocketmq-all-4.5.2-bin-release/conf/2m-noslave/broker-a.properties -p | grep FileSize 2021-02-25 17\:16\:34 INFO main - mappedFileSizeCommitLog=131989504 2021-02-25 17\:16\:34 INFO main - mappedFileSizeConsumeQueue=6000000 2021-02-25 17\:16\:34 INFO main - mappedFileSizeConsumeQueueExt=50331648
[root@retail-tke-slave1 ~]# kubectl get ns Unable to connect to the server: dial tcp: lookup cls-nXX.ccs.tencent-cloud.com on 183.XX.XX.XX:53: no such host
[root@retail-tke-slave1 ~]# sudo sed -i '$a 172.XX.XX.128 cls-n128cem7.ccs.tencent-cloud.com' /etc/hosts
[root@retail-tke-slave1 ~]# kubectl get ns NAME STATUS AGE default Active 3d15h kube-node-lease Active 3d15h kube-public Active 3d15h kube-system Active 3d15h retail Active 3d15h [root@retail-tke-slave1 ~]# kubectl get svc -n etail No resources found in etail namespace. [root@retail-tke-slave1 ~]# kubectl get svc -n retail NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE lumi-biz-retail-open ClusterIP 10.1.0.57 <none> 9325/TCP 23h lumi-new-retail-employee-gateway ClusterIP 10.1.0.34 <none> 9395/TCP 22h lumi-new-retail-gateway ClusterIP 10.1.0.96 <none> 9360/TCP 22h lumi-retail-center NodePort 10.1.0.6 <none> 9406:30000/TCP 22h
[root@retail-tke-slave1 ~]# # Received /Users/zhaodan/Downloads/lumi_retail_xxljob_admin-0.0.1.jar [root@retail-tke-slave1 ~]# ls lumi_retail_xxljob_admin-0.0.1.jar [root@retail-tke-slave1 ~]# docker cp ./lumi_retail_xxljob_admin-0.0.1.jar d3cf17ce6770:/data/ [root@retail-tke-slave1 ~]# docker exec -it d3cf17ce6770 /bin/bash bash-4.4# ls apollo dev home media proc sbin tmp bin entrypoint.sh lib mnt root srv usr data etc lib64 opt run sys var bash-4.4# cd data/ bash-4.4# ll bash: ll: command not found bash-4.4# ls -l total 41288 -rw-r--r-- 1 root root 274 Mar 1 14:58 Dockerfile -rw-r--r-- 1 root root 1904 Mar 1 14:58 entrypoint.sh -rw------- 1 root root 42268422 Mar 1 16:00 lumi_retail_xxljob_admin-0.0.1.jar
[root@retail-tke-slave1 ~]# docker ps|grep xxljob d3cf17ce6770 aqara.tencentcloudcr.com/retail/lumi_retail_xxljob_admin "sh entrypoint.sh" 24 minutes ago Up 24 minutes k8s_lumi-retail-xxljob-admin_lumi-retail-xxljob-admin-6df78757-z86sh_retail_8a492f04-1311-48de-9323-fb7d98147110_2 781df3652630 ccr.ccs.tencentyun.com/library/pause:latest "/pause" About an hour ago Up About an hour k8s_POD_lumi-retail-xxljob-admin-6df78757-z86sh_retail_8a492f04-1311-48de-9323-fb7d98147110_0 [root@retail-tke-slave1 ~]# docker tag aqara.tencentcloudcr.com/retail/lumi_retail_xxljob_admin aqara.tencentcloudcr.com/retail/lumi_retail_xxljob_admin_test
[root@retail-tke-slave1 ~]# docker commit d3cf17ce6770 aqara.tencentcloudcr.com/retail/lumi_retail_xxljob_admin:20210301 sha256:9fd32ac163fcb3c1ca09501a42022514100b434c060644877e235aa72d293951 [root@retail-tke-slave1 ~]# docker push aqara.tencentcloudcr.com/retail/lumi_retail_xxljob_admin:20210301 The push refers to repository [aqara.tencentcloudcr.com/retail/lumi_retail_xxljob_admin]