You can set the environment variable DOCKER_DEFAULT_PLATFORM
export DOCKER_DEFAULT_PLATFORM=linux/amd64
More Related Contents:
- How to copy files from host to Docker container?
- Why docker container exits immediately
- Add a volume to Docker, but exclude a sub-folder
- Use of Supervisor in docker
- How to change the docker image installation directory?
- Locating data volumes in Docker Desktop (Windows)
- Docker Compose – Share named volume between multiple containers
- In a Dockerfile, How to update PATH environment variable?
- How to keep Docker container running after starting services?
- How to make sure docker’s time syncs with that of the host?
- Docker remove TAG images
- what is docker run -it flag?
- Cannot login to Docker account
- Conditional ENV in Dockerfile
- Linux machine with docker deploy windows container
- In Docker, what’s the difference between a container and an image? [duplicate]
- docker data volume vs mounted host directory
- Is there a best practice on setting up glibc on docker alpine linux base image?
- Docker Compose – How to execute multiple commands?
- How can I list all tags for a Docker image on a remote registry?
- How to port data-only volumes from one host to another?
- What is the alternative to condition form of depends_on in docker-compose Version 3?
- How to execute a script when I terminate a docker container
- Add Insecure Registry to Docker
- How to get remote access to a private docker-registry?
- How to tag docker image with docker-compose
- Finding the layers and layer sizes for each Docker image
- What’s the best way to share files from Windows to Boot2docker VM?
- Docker loading kernel modules
- docker – how do you disable auto-restart on a container?