You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nerdctl run -it --rm -p 8080:80 --label nerdctl/bypass4netns=true alpine
69
+
nerdctl run -it --rm -p 8080:80 --annotation nerdctl/bypass4netns=true alpine
70
70
```
71
71
72
-
NOTE: `--label nerdctl/bypass4netns=true` will be probably replaced with `--security-opt` or something like `--network-opt` in a future version of nerdctl.
72
+
NOTE: nerdctl prior to v2.0 needs `--label` instead of `--annotation`.
73
+
Also, the syntax will be probably replaced with `--security-opt` or something like `--network-opt` in a future version of nerdctl.
73
74
74
75
## :warning: Caveats :warning:
75
76
Accesses to host abstract sockets and host loopback IPs (127.0.0.0/8) from containers are designed to be rejected.
0 commit comments