act --container-architecture darwin/amd64

From wikieduonline
Jump to navigation Jump to search

wikipedia:act

act --container-architecture darwin/amd64
[Deploy/deployment   ] 🚀  Start image=node:16-buster-slim
[Deploy to AWS/Deploy] 🚀  Start image=node:16-buster-slim
INFO[0000] Parallel tasks (0) below minimum, setting to 1
[Deploy/deployment   ]   🐳  docker pull image=node:16-buster-slim platform=darwin/amd64 username= forcePull=true
INFO[0000] Parallel tasks (0) below minimum, setting to 1
[Deploy to AWS/Deploy]   🐳  docker pull image=node:16-buster-slim platform=darwin/amd64 username= forcePull=true
INFO[0003] Parallel tasks (0) below minimum, setting to 1
[Deploy to AWS/Deploy]   🐳  docker create image=node:16-buster-slim platform=darwin/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
INFO[0003] Parallel tasks (0) below minimum, setting to 1
[Deploy/deployment   ]   🐳  docker create image=node:16-buster-slim platform=darwin/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
Error: failed to create container: 'Error response from daemon: image with reference node:16-buster-slim was found but does not match the specified platform: wanted darwin/amd64, actual: linux/amd64'
Solution:
docker rmi node


Related[edit]

See also[edit]

Advertising: