Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
UNIX command line
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CAN
UNIX command line
Commits
b8d52def
Verified
Commit
b8d52def
authored
3 years ago
by
Laurent Modolo
Browse files
Options
Downloads
Patches
Plain Diff
fix typo in 12.
parent
d334bdbe
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
12_virtualization.md
+3
-10
3 additions, 10 deletions
12_virtualization.md
index.md
+1
-1
1 addition, 1 deletion
index.md
with
4 additions
and
11 deletions
12_virtualization.md
+
3
−
10
View file @
b8d52def
...
...
@@ -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 r
un
-d
-p
8787:8787
-e
PASSWORD
=
yourpasswordhere
rocker/rstudio:3.2.0
docker rmi
docker r
mi
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
'
```
...
...
This diff is collapsed.
Click to expand it.
index.md
+
1
−
1
View file @
b8d52def
...
...
@@ -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.
[
Vi
t
alization
](
http://perso.ens-lyon.fr/laurent.modolo/unix/12_virtualization.html
)
12.
[
Vi
rtu
alization
](
http://perso.ens-lyon.fr/laurent.modolo/unix/12_virtualization.html
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment