From b8d52def796434ddd3e16653d2bc0559bbd5383a Mon Sep 17 00:00:00 2001 From: Laurent Modolo <laurent.modolo@ens-lyon.fr> Date: Mon, 26 Apr 2021 10:08:09 +0200 Subject: [PATCH] fix typo in 12. --- 12_virtualization.md | 13 +++---------- index.md | 2 +- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/12_virtualization.md b/12_virtualization.md index ad6578b..a586225 100644 --- a/12_virtualization.md +++ b/12_virtualization.md @@ -126,13 +126,6 @@ id ``` </p> </details> - -Executing a command - -```sh -singularity exec docker://alpine:latest apk -``` - Launching a background container ```sh @@ -166,7 +159,7 @@ docker rm <CONTAINER ID> Deleting a container image ```sh -docker run -d -p 8787:8787 -e PASSWORD=yourpasswordhere rocker/rstudio:3.2.0docker rmi +docker rmi rocker/rstudio:3.2.0 ``` Try to run the `mcr.microsoft.com/windows/servercore:ltsc2019` container, what is happening ? @@ -192,13 +185,13 @@ COPY .bashrc / `RUN`will execute command inside the container ```dockerfile -RUN apt updatge && apt install -y vim +RUN apt updatge && apt install -y htop ``` You can then build your container: ```sh -docker build ./ -t 'ubuntu_with_vim' +docker build ./ -t 'ubuntu_with_htop' ``` diff --git a/index.md b/index.md index 3e1d9e4..27ad244 100644 --- a/index.md +++ b/index.md @@ -15,6 +15,6 @@ title: # Unix / command line training course 9. [Batch processing](http://perso.ens-lyon.fr/laurent.modolo/unix/9_batch_processing.html) 10. [Network and ssh](http://perso.ens-lyon.fr/laurent.modolo/unix/10_network_and_ssh.html) 11. [Install system-wide programs](http://perso.ens-lyon.fr/laurent.modolo/unix/11_install_system_programs.html) -12. [Vitalization](http://perso.ens-lyon.fr/laurent.modolo/unix/12_virtualization.html) +12. [Virtualization](http://perso.ens-lyon.fr/laurent.modolo/unix/12_virtualization.html) -- GitLab