Outils pour utilisateurs

Outils du site


tech:notes_-_nerdctl

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
tech:notes_-_nerdctl [2025/09/07 22:34] – créée Jean-Baptistetech:notes_-_nerdctl [2025/12/01 11:04] (Version actuelle) Jean-Baptiste
Ligne 3: Ligne 3:
  
 # Notes - nerdctl # Notes - nerdctl
 +
 +Alternative aux commandes :
 +* docker
 +* docker-compose
 +* podman
 +* crictl
 +* ctr
 +
 +
 +Voir :
 +* https://www.youtube.com/watch?v=fMOT4761_VQ
 +* https://github.com/containerd/nerdctl?tab=readme-ov-file#additional-documents
 +* https://blog.devops.dev/podman-vs-nerdctl-whats-the-deal-8f9511fb975d
 +* https://rootlesscontaine.rs/getting-started/containerd/
 +
 +
 +Old :
 +* https://thenewstack.io/containers/how-to-deploy-containers-with-nerdctl/
 +
  
 ~~~ ~~~
Ligne 11: Ligne 30:
          Use 'sudo nerdctl apparmor load' if you prefer to use AppArmor with rootless mode.          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.          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:/usr/sbin/
 ~~~ ~~~
  
Ligne 16: Ligne 40:
 sudo nerdctl apparmor load 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 /run/k3s/containerd/containerd.sock --namespace k8s.io ps
 +#ou
 +CONTAINERD_ADDRESS=/run/k3s/containerd/containerd.sock
 +~~~
 +
  
  
-FIXME 
  
  
tech/notes_-_nerdctl.1757277245.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki