Linux REDACTED 5.14.9-zen2-1-zen #1 ZEN SMP PREEMPT Fri, 01 Oct 2021 19:03:23 +0000 x86_64 GNU/Linux
Vue CLI container detection does not seem to work
What is expected?
The logs should contain the container detection log entry:
It seems you are running Vue CLI inside a container.
Access the dev server via http://localhost:<your container's external mapped port>/
What is actually happening?
The logs don't indicate vue-cli detected it is running in a container so the dev server's live reload functionality is not working due to the websocket URL not being built correctly
Running the stock ubuntu kernel, container detection works fine:
Linux REDACTED 5.4.0-86-generic #97~18.04.1-Ubuntu SMP Sat Sep 18 03:11:22 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
note: the vue info command output is from inside the docker container
Version
4.5.0
Environment info
Steps to reproduce
Using this kernel on arch linux:
Vue CLI container detection does not seem to work
What is expected?
The logs should contain the container detection log entry:
What is actually happening?
The logs don't indicate vue-cli detected it is running in a container so the dev server's live reload functionality is not working due to the websocket URL not being built correctly
Running the stock ubuntu kernel, container detection works fine:
note: the
vue info
command output is from inside the docker container