Open andreasjansson opened 2 years ago
FWIW, it was indeed a recent docker version; it's just that it was installed with snap
and not as a normal app. snaps are installed as mounted filesystems under /var/lib/snapd and it causes issues working across filesystems, like in /tmp. Another mitigation might be to move the Dockerfile into the .cog local dir you're creating anyway, instead of going into /tmp.
Anyway, just something to consider next time someone reports cog not working because it can't find /tmp/dockerfile123897648!
From Discord:![image](https://user-images.githubusercontent.com/713993/126353830-446005a5-11b8-4a41-bdc3-c4328216dd84.png)
We should make sure that the user is running a recent enough version of Docker before we try to run any Docker commands.