cua
cua copied to clipboard
[Kasm] Published Docker image is for ARM only
User runs:
sudo docker run -d --name cua-computer --platform=linux/amd64 --shm-size=2g -e VNC_PW='cua1234' -e DPI=96 -p 6901:6901 -p 5901:5901 -p 8000:8000 -v "$PWD/trajectories:/workspace/trajectories" trycua/cua-ubuntu:latest
And gets the error:
docker: no matching manifest for linux/amd64 in the manifest list entries
We have these two images, but the platform tag is not consistent:
- https://hub.docker.com/r/trycua/cua-xfce/tags
- https://hub.docker.com/r/trycua/cua-ubuntu/tags
Our manual build command:
- https://github.com/trycua/cua/tree/main/libs/kasm#build-and-push-multi-arch
Our GitHub Actions:
- https://github.com/trycua/cua/blob/main/.github/workflows/docker-publish-xfce.yml
- https://github.com/trycua/cua/blob/main/.github/workflows/docker-publish-kasm.yml
- https://github.com/trycua/cua/blob/main/.github/workflows/docker-reusable-publish.yml
Looks like the image wasn’t built for amd64 this can be fixed by adding --platform linux/amd64,linux/arm64 in the Docker buildx step of the publish workflow.
Multi-arch publishing is now fixed and working as expected. Closing this issue. (#653)