I've been investigating a couple of docker test failures on RPI (armhf and arm64)that we see on this kernel that seemed a bit surprising.
The checkbox tests are:
com.canonical.certification::docker/deploy-registry_armhf.com.canonical.certification::docker/deploy-registry_armhf
com.canonical.certification::docker/start-stop_armhf.com.canonical.certification::docker/start-stop_armhf
Here's the first one as a script to give you something that's easy to reproduce:
-----
auth_folder=/var/snap/docker/common/auth
mkdir -p $auth_folder
docker run --entrypoint htpasswd registry:2 -Bbn user passwd > $auth_folder/htpasswd
docker run -d -p 5000:5000 --restart=always --name registry \
-v $auth_folder:/auth \
-e "REGISTRY_AUTH=htpasswd" \
-e "REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm" \
-e REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd \
registry:2
docker pull ubuntu
docker tag ubuntu localhost:5000/ubuntu
docker login --username user --password passwd localhost:5000
docker push localhost:5000/ubuntu
docker pull localhost:5000/ubuntu
docker stop registry
docker rm -v registry
----
When the registry container starts, it seems to be crashing and docker ps seems to always show it in "restarting" state. To confirm, I reverted back to the stable kernel, and the test runs fine.
I've been investigating a couple of docker test failures on RPI (armhf and arm64)that we see on this kernel that seemed a bit surprising. canonical. certification: :docker/ deploy- registry_ armhf.com. canonical. certification: :docker/ deploy- registry_ armhf canonical. certification: :docker/ start-stop_ armhf.com. canonical. certification: :docker/ start-stop_ armhf
The checkbox tests are:
com.
com.
Here's the first one as a script to give you something that's easy to reproduce: /var/snap/ docker/ common/ auth htpasswd AUTH=htpasswd" \ AUTH_HTPASSWD_ REALM=Registry Realm" \ AUTH_HTPASSWD_ PATH=/auth/ htpasswd \ 5000/ubuntu 5000/ubuntu 5000/ubuntu
-----
auth_folder=
mkdir -p $auth_folder
docker run --entrypoint htpasswd registry:2 -Bbn user passwd > $auth_folder/
docker run -d -p 5000:5000 --restart=always --name registry \
-v $auth_folder:/auth \
-e "REGISTRY_
-e "REGISTRY_
-e REGISTRY_
registry:2
docker pull ubuntu
docker tag ubuntu localhost:
docker login --username user --password passwd localhost:5000
docker push localhost:
docker pull localhost:
docker stop registry
docker rm -v registry
----
When the registry container starts, it seems to be crashing and docker ps seems to always show it in "restarting" state. To confirm, I reverted back to the stable kernel, and the test runs fine.