Open adrienWeiss opened 2 years ago
I've run into the same issue.
@adrienWeiss Thanks a lot for your workaround. Without it, my environment would be broken.
It's not really obvious that this due to the Vue CLI.
Thanks for the workaround! I'm running into this issue as well since I've upgraded docker.
Version
4.5.11
Environment info
Steps to reproduce
checkInContainer
function incli-service/lib/commands/serve.js
is relying on a regex check in/proc/1/cgroup
to determine if it is running inside a container. Docker now uses cgroup v2 https://docs.docker.com/desktop/mac/release-notes/#bug-fixes-and-minor-changes which statesFrom my understanding, checking the content of
/proc/1/cgroup
is not a reliable way of checking if the command is running inside a container anymore. The only workaround I have at the moment is setting theCODESANDBOX_SSE
env variable in my container.What is expected?
What is actually happening?