acscott
(Acscott)
1
ERROR message I get
OCI runtime exec failed: exec failed: container_linux.go:367: starting container process caused: exec format error: unknown
Running docker 20.10.2 on Ubuntu 20.04.2 LTS
docker-compose 1.25.0
How do I troubleshoot this?
I’m running docker-compose exec pipeline test/antares/pipeline/pipeline_integration_test.py
This works on a macbook.
terpz
(Martin Terp)
2
Hi.
Its because you’re trying to run an ARM container on a AMD64 host, or the other way around
acscott
(Acscott)
3
Thanks Martin!
I got further by adding #!/usr/bin/python at the top of the python script. What you say makes sense give the limited information I provided though!
Thanks,
Adam
terpz
(Martin Terp)
4
yea and if I read earlier, that you were trying to exec a python script I might have giving you a better answer