Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use option --network host when running a docker container #292

Open
JinraeKim opened this issue Oct 5, 2022 · 0 comments
Open

Cannot use option --network host when running a docker container #292

JinraeKim opened this issue Oct 5, 2022 · 0 comments

Comments

@JinraeKim
Copy link

Describe the bug
A clear and concise description of what the bug is.

When I used the command of docker run --rm --network host -p 6080:80 /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc:focal-arm64, the following error occurred and cannot access it through web browser as

➜  visualisation_docker git:(feature/stair_pipeline_docker) ✗ docker run --rm --network host -p 6080:80 -v /dev/shm:/dev/shm ihany/visualisation
WARNING: Published ports are discarded when using host network mode
2022-10-05 04:49:47,330 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.

Notes
My machine is M1 MBA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant