installation documentation
INSTALLER DOCKER
2021 :
apt-get remove docker docker-engine docker.io containerd runc apt-get update apt-get install apt-transport-https ca-certificates curl gnupg lsb-release curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg —dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) (...)
Accueil > Mots-clés > _multirubricage > docker
docker
Articles
-
Virtualisation : docker - installation
26 avril 2021, par bruno -
Virtualisation : dockerfile
10 février 2019, par brunopython 3 créer un docker python3.7.17 en créant Dockerfile depuis https://hub.docker.com/_/python/ https://github.com/docker-library/python/blob/5d908b0477c003712550c84ac4d133367b912f78/3.7/bookworm/Dockerfile docker build . —tag="python3.7.17"Ailleurs : Dockerfile avec FROM python3.7.17 WORKDIR /app ADD . /app COPY requirements.txt ./ RUN pip install —no-cache-dir -r requirements.txt COPY . . CMD ["python3","app.py"]
fichier requirements.txt (...) -
Virtualisation : docker
8 avril 2017, par brunoPrincipe : créer un système virtualisé Moyens : soit créer un fichier Dockerfile puis docker build . -t nom puis docker run nom soit télécharger un fichier Dockerfile et l’utiliser docker run debian:stretch voir soit utiliser une image toute faite : docker run hello-world Unable to find image ’hello-world:latest’ locally [...] Status : Downloaded newer image docker pull ubuntu:trusty installer docker commandes très utiles commandes utiles exemples de fichiers dockerfile commandes (...)