This is somewhat case-specific... I have a piece of code (vpn login) that fails with Prefect running docker, but runs just fine in the same docker image locally. I've set
privileged
to
true
.
I wonder how Prefect works with docker under the hood. I don't see why the same code & docker image gives different behavior with/without Prefect.
John
03/31/2023, 9:44 PM
1. python code
2. expect script
3. error output when running from Prefect cloud in docker container
4. successful output when running in local docker container