Hi @allan.tx ,
Well… upon deploying from the Torizon IDE, I have the following on the device:
torizon@verdin-imx8mm-15400884:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
192.168.100.6:5002/helloc-debug arm64 e03b9aee29ba 2 days ago 256MB
portainer/portainer-ce 2.17.1 ada025d39772 2 years ago 267MB
torizon/chromium 2 cb7ac4913734 2 years ago 609MB
torizon/weston-vivante 2 eb17fa1e613f 2 years ago 424MB
Then, I delete the deployed docker container (instance):
torizon@verdin-imx8mm-15400884:~$ docker ps -a | grep 'helloc'
d7ebb7e73a92 192.168.100.6:5002/helloc-debug:arm64 "/usr/sbin/sshd -D" 3 minutes ago Up 3 minutes 0.0.0.0:2230->2230/tcp, :::2230->2230/tcp torizon-helloc-debug-1
torizon@verdin-imx8mm-15400884:~$ docker stop d7ebb7e73a92
d7ebb7e73a92
torizon@verdin-imx8mm-15400884:~$ docker rm d7ebb7e73a92
d7ebb7e73a92
And the image:
- From the Verdin:
torizon@verdin-imx8mm-15400884:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
192.168.100.6:5002/helloc-debug arm64 e03b9aee29ba 2 days ago 256MB
portainer/portainer-ce 2.17.1 ada025d39772 2 years ago 267MB
torizon/chromium 2 cb7ac4913734 2 years ago 609MB
torizon/weston-vivante 2 eb17fa1e613f 2 years ago 424MB
torizon@verdin-imx8mm-15400884:~$ docker rmi e03b9aee29ba
Untagged: 192.168.100.6:5002/helloc-debug:arm64
Untagged: 192.168.100.6:5002/helloc-debug@sha256:2662d6eabb156e425f47b73cb9935346ddeac5b647dd7fed631f2e62dbbca80d
Deleted: sha256:e03b9aee29ba8aab8d3e6e35ad2b35ff856b466e042ef6e58ce617399accc7b4
- From the PC where I run VScode (Torizon IDE):
vmetodiev@vmetodiev:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost:5002/helloc-debug arm64 e03b9aee29ba 2 days ago 256MB
cross-toolchain-arm64-helloc latest 1d2fdd66f080 2 days ago 497MB
torizon/torizoncore-builder 3 3763b2759554 6 weeks ago 1.46GB
nvidia/cuda 12.0.1-cudnn8-devel-ubuntu22.04 187c5dc02f8f 18 months ago 9.89GB
registry 2 26b2eb03618e 19 months ago 25.4MB
torizon/binfmt latest 893244d86992 4 years ago 37.5MB
vmetodiev@vmetodiev:~$ docker rmi e03b9aee29ba
Untagged: localhost:5002/helloc-debug:arm64
Untagged: localhost:5002/helloc-debug@sha256:2662d6eabb156e425f47b73cb9935346ddeac5b647dd7fed631f2e62dbbca80d
Deleted: sha256:e03b9aee29ba8aab8d3e6e35ad2b35ff856b466e042ef6e58ce617399accc7b4
At this stage, if I check the registry on my PC, I have something remained:
vmetodiev@vmetodiev:~$ curl -sS 192.168.100.6:5002/v2/_catalog
{"repositories":["helloc-debug"]}
After that, I am going to VScode and run Ctrl + F5 to re-deploy everything, expecting that I will end up with a freshly built container (thus forcing Torizon IDE to re-run docker build with the changes I have made in my Dockerfile).
WARN[0000] The "DOCKER_LOGIN" variable is not set. Defaulting to a blank string.
[+] Pushing 16/16
✔ Pushing localhost:5002/helloc-debug:arm64: e5e519fe8cba Layer already exists 0.0s
✔ Pushing localhost:5002/helloc-debug:arm64: 29d21206053d Layer already exists 0.0s
✔ Pushing localhost:5002/helloc-debug:arm64: 2862f3d001f4 Layer already exists 0.0s
✔ Pushing localhost:5002/helloc-debug:arm64: 7ade0e303278 Layer already exists 0.0s
✔ Pushing localhost:5002/helloc-debug:arm64: ef5ab135b4e1 Layer already exists 0.0s
✔ Pushing localhost:5002/helloc-debug:arm64: 0d44ca85e203 Layer already exists 0.0s
✔ Pushing localhost:5002/helloc-debug:arm64: cbfca7efdd64 Layer already exists 0.0s
✔ Pushing localhost:5002/helloc-debug:arm64: c5852bef3e08 Layer already exists 0.0s
✔ Pushing localhost:5002/helloc-debug:arm64: 6cd757f87b26 Layer already exists 0.0s
✔ Pushing localhost:5002/helloc-debug:arm64: 84f02289282b Layer already exists 0.0s
✔ Pushing localhost:5002/helloc-debug:arm64: db9633f880e7 Layer already exists 0.0s
✔ Pushing localhost:5002/helloc-debug:arm64: ab925bd8dc65 Layer already exists 0.0s
✔ Pushing localhost:5002/helloc-debug:arm64: 5f70bf18a086 Layer already exists 0.0s
✔ Pushing localhost:5002/helloc-debug:arm64: ac6442dc9f87 Layer already exists 0.0s
✔ Pushing localhost:5002/helloc-debug:arm64: 169ce75e923c Layer already exists 0.0s
✔ Pushing localhost:5002/helloc-debug:arm64: 66a307619b8c Layer already exists 0.0s
* Terminal will be reused by tasks, press any key to close it.
* Executing task: DOCKER_HOST=192.168.100.7:2375 LOCAL_REGISTRY=192.168.100.6 TAG=arm64 GPU=-imx8 DEBUG_SSH_PORT=2230 DEBUG_PORT1= DEBUG_PORT2= DEBUG_PORT3= docker compose pull helloc-debug
WARN[0000] The "DOCKER_LOGIN" variable is not set. Defaulting to a blank string.
[+] Pulling 15/17
⠧ helloc-debug [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿] 90.51MB / 91.49MB Pulling
And upon listing the images, I get the following:
torizon@verdin-imx8mm-15400884:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
192.168.100.6:5002/helloc-debug arm64 e03b9aee29ba 2 days ago 256MB
portainer/portainer-ce 2.17.1 ada025d39772 2 years ago 267MB
torizon/chromium 2 cb7ac4913734 2 years ago 609MB
torizon/weston-vivante 2 eb17fa1e613f 2 years ago 424MB
192.168.100.6:5002/helloc-debug arm64 e03b9aee29ba 2 days ago 256MB
And the 2 days ago makes me think that I am still deploying from the registry remnants…