● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled) Active: active (running) since Sat 2023-03-25 14:22:34 CST; 18s ago Docs: https://docs.docker.com Main PID: 1971 (dockerd) Tasks: 7 Memory: 108.2M CGroup: /system.slice/docker.service └─1971 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
Mar 25 14:22:33 iZt4n6q3i85nj90kbsfqz5Z dockerd[1971]: time="2023-03-25T14:22:33.594962610+08:00" level=info msg="Loading containers: start." Mar 25 14:22:33 iZt4n6q3i85nj90kbsfqz5Z dockerd[1971]: time="2023-03-25T14:22:33.907783608+08:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be us...red IP address" Mar 25 14:22:33 iZt4n6q3i85nj90kbsfqz5Z dockerd[1971]: time="2023-03-25T14:22:33.998627114+08:00" level=info msg="Loading containers: done." Mar 25 14:22:34 iZt4n6q3i85nj90kbsfqz5Z dockerd[1971]: time="2023-03-25T14:22:34.077496453+08:00" level=warning msg="WARNING: bridge-nf-call-iptables is disabled" Mar 25 14:22:34 iZt4n6q3i85nj90kbsfqz5Z dockerd[1971]: time="2023-03-25T14:22:34.077526272+08:00" level=warning msg="WARNING: bridge-nf-call-ip6tables is disabled" Mar 25 14:22:34 iZt4n6q3i85nj90kbsfqz5Z dockerd[1971]: time="2023-03-25T14:22:34.077573836+08:00" level=info msg="Docker daemon" commit=bc3805a graphdriver=overlay2 version=23.0.1 Mar 25 14:22:34 iZt4n6q3i85nj90kbsfqz5Z dockerd[1971]: time="2023-03-25T14:22:34.077678364+08:00" level=info msg="Daemon has completed initialization" Mar 25 14:22:34 iZt4n6q3i85nj90kbsfqz5Z systemd[1]: Started Docker Application Container Engine. Mar 25 14:22:34 iZt4n6q3i85nj90kbsfqz5Z dockerd[1971]: time="2023-03-25T14:22:34.128839102+08:00" level=info msg="[core] [Server #7] Server created" module=grpc Mar 25 14:22:34 iZt4n6q3i85nj90kbsfqz5Z dockerd[1971]: time="2023-03-25T14:22:34.162907755+08:00" level=info msg="API listen on /run/docker.sock" Hint: Some lines were ellipsized, use -l to show in full.
SET DOCKER_TLS_VERIFY=1 SET DOCKER_HOST=tcp://127.0.0.1:2376 SET DOCKER_CERT_PATH=C:\Users\BenedictJin\.docker\machine\machines\kafka-connect SET DOCKER_MACHINE_NAME=kafka-connect SET COMPOSE_CONVERT_WINDOWS_PATHS=true REM Run this command to configure your shell: REM @FOR /f "tokens=*" %i IN ('docker-machine env kafka-connect') DO @%i
拷贝上面输出的最后一行,去掉 REM 注释,并运行
1
$ @FOR /f "tokens=*" %i IN ('docker-machine env kafka-connect') DO @%i
$ docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]
$ docker tag c42de02bd3e2 asdf2014/druid:fc95c928069537b3f3a6baf86f220b893d42fdc5 $ docker images
1 2
REPOSITORY TAG IMAGE ID CREATED SIZE asdf2014/druid fc95c928069537b3f3a6baf86f220b893d42fdc5 c42de02bd3e2 23 hours ago 689MB
1
$ docker images
1 2 3 4 5 6 7 8 9
REPOSITORY TAG IMAGE ID CREATED SIZE apache/druid 0.22.0_with_conf 5931517fd053 About a minute ago 687MB <none> <none> 4200421fc08b 16 hours ago 133MB apache/druid 0.22.0_conf 1fb62951eede 2 weeks ago 686MB <none> <none> 90c3bc4ec0af 2 weeks ago 686MB apache/druid tag c42de02bd3e2 2 weeks ago 689MB asdf2014/druid fc95c928069537b3f3a6baf86f220b893d42fdc5 c42de02bd3e2 2 weeks ago 689MB gcr.io/k8s-minikube/kicbase v0.0.26 b0c9ec980b3d 2 months ago 1.08GB maven 3.8.1-jdk-11-slim 1b6721ada2a1 3 months ago 440MB
1 2
$ docker image tag apache/druid:0.22.0_with_conf asdf2014/druid:0.22.0_with_conf $ docker images
1 2 3 4 5 6 7 8 9 10
REPOSITORY TAG IMAGE ID CREATED SIZE apache/druid 0.22.0_with_conf 5931517fd053 2 minutes ago 687MB asdf2014/druid 0.22.0_with_conf 5931517fd053 2 minutes ago 687MB <none> <none> 4200421fc08b 16 hours ago 133MB apache/druid 0.22.0_conf 1fb62951eede 2 weeks ago 686MB <none> <none> 90c3bc4ec0af 2 weeks ago 686MB apache/druid tag c42de02bd3e2 2 weeks ago 689MB asdf2014/druid fc95c928069537b3f3a6baf86f220b893d42fdc5 c42de02bd3e2 2 weeks ago 689MB gcr.io/k8s-minikube/kicbase v0.0.26 b0c9ec980b3d 2 months ago 1.08GB maven 3.8.1-jdk-11-slim 1b6721ada2a1 3 months ago 440MB
Running pre-create checks... (dataagg) No default Boot2Docker ISO found locally, downloading the latest release... Error with pre-create check: "Get https://api.github.com/repos/boot2docker/boot2docker/releases/latest: dial tcp 127.0.0.1:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."