tech:notes_-_nerdctl
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tech:notes_-_nerdctl [2025/09/07 22:56] – Jean-Baptiste | tech:notes_-_nerdctl [2025/12/01 11:04] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # Notes - nerdctl | ||
| + | |||
| + | Alternative aux commandes : | ||
| + | * docker | ||
| + | * docker-compose | ||
| + | * podman | ||
| + | * crictl | ||
| + | * ctr | ||
| + | |||
| + | |||
| + | Voir : | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| + | |||
| + | Old : | ||
| + | * https:// | ||
| + | |||
| + | |||
| + | ~~~ | ||
| + | export NERDCTL_EXPERIMENTAL=0 | ||
| + | |||
| + | $ nerdctl info | ||
| + | WARNING: AppArmor profile " | ||
| + | Use 'sudo nerdctl apparmor load' if you prefer to use AppArmor with rootless mode. | ||
| + | This warning is negligible if you do not intend to use AppArmor. | ||
| + | ~~~ | ||
| + | |||
| + | ~~~bash | ||
| + | # nerdctl / kind a besoin de connaitre le chemin de iptables | ||
| + | export PATH=$PATH:/ | ||
| + | ~~~ | ||
| + | |||
| + | ~~~bash | ||
| + | sudo nerdctl apparmor load | ||
| + | ~~~ | ||
| + | |||
| + | ~~~bash | ||
| + | nerdctl compose up | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | Debug dockerfile | ||
| + | |||
| + | ~~~bash | ||
| + | nerdctl builder debug . | ||
| + | ~~~ | ||
| + | |||
| + | list namespaces | ||
| + | ~~~bash | ||
| + | nerdctl namespace ls | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | Connection a container to multiple networks at once | ||
| + | nerdctl run --net foo --net bar | ||
| + | |||
| + | ~~~bash | ||
| + | nerdctl --address / | ||
| + | #ou | ||
| + | CONTAINERD_ADDRESS=/ | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | |||
