diff --git a/12_virtualization.md b/12_virtualization.md index ad6578bba8ff372824029ee4948ab23fc9dcc4a8..a58622539ae76810eb7db6441190ce2a4af75b08 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 3e1d9e4c6f409c68c0b9fdcc074af36bce4830a2..27ad244be6c76147b816950f3d371b064cfdb388 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)