invalid network_mode: host when run nerdctl compose up
#964
-
Descriptionversion: "3"
services:
envoy:
image: envoyproxy/envoy:v1.21-latest
# command: ["envoy", "-c", "/etc/envoy/envoy.yaml", "--log-level", "debug", "--component-log-level", "upstream:debug"]
container_name: envoy
network_mode: host
volumes:
- "./configs:/etc/envoy"
# ports:
# - "9901:9901"
# - "8000:8000"
# - "8081:8081"
# - "8082:8082"
|
Beta Was this translation helpful? Give feedback.
Answered by
AkihiroSuda
Jul 15, 2022
Replies: 2 comments 7 replies
-
Host networking isn't supported with rootless containerd.
|
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
AkihiroSuda
-
➜ ~ nerdctl ps
FATA[0000] rootless containerd not running? (hint: use `containerd-rootless-setuptool.sh install` to start rootless containerd): stat /run/user/502/containerd-rootless: no such file or directory ➜ ~ sudo nerdctl ps
Password:
FATA[0000] must not run as the root Can I use roofull mode? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Host networking isn't supported with rootless containerd.
Probably you want to use rootful containerd instead.