docs: Docker tutorial review: ubuntu:lts, long options, links to the casts

- ubuntu:lts instead of ubuntu:24.04 (26.04 today)
- cloud-init status --wait --long gives the summary, no need to read the log
- long options everywhere in the tutorial and its demos
- a discreet link to the asciinema recording under each GIF (pause, fast
  forward in Gitea's player), in the main README too
- castfix.py only restores the prompt after autocast's own !Clear

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJkPw1qcoCubeKqfffm
This commit is contained in:
xavierandClaude Opus 5.5 committed 2026-11-21 19:49:56 +01:00
1 parent 372bf5d84b
commit be68264e5c
12 files changed
+1679 -1707

No files matched your search

+3
View File
@@ -17,6 +17,7 @@ This repository contains a collection of LXD profiles and network configurations
### Plain `lxc`, without mise
![Create a profile from its YAML file with lxc](demo/lxc.gif)
<sub>▶ [asciinema recording](demo/lxc.cast) (pause, fast forward)</sub>
### Tour of the mise tasks
@@ -24,6 +25,7 @@ Welcome message when entering the directory, profile list with their state in
LXD, profile content and diff between LXD and the repository.
![Welcome message, profile list, profile content and diff](demo/tour.gif)
<sub>▶ [asciinema recording](demo/tour.cast) (pause, fast forward)</sub>
### Install, update and import a profile
@@ -32,6 +34,7 @@ the diff and asks for confirmation; `import` brings the change back into the
repository instead.
![Install a profile, update it after a change in LXD, import it back](demo/install.gif)
<sub>▶ [asciinema recording](demo/install.cast) (pause, fast forward)</sub>
## Tutorials
+3
View File
@@ -18,6 +18,7 @@ le déploiement et la gestion de conteneurs LXD.
### Avec `lxc` seul, sans mise
![Création d'un profil à partir de son fichier YAML avec lxc](demo/lxc.gif)
<sub>▶ [Enregistrement asciinema](demo/lxc.cast) (pause, avance rapide)</sub>
### Tour des tâches mise
@@ -25,6 +26,7 @@ Message d'accueil à l'entrée dans le dossier, liste des profils avec leur éta
dans LXD, contenu d'un profil et différences entre LXD et le dépôt.
![Message d'accueil, liste des profils, contenu d'un profil et diff](demo/tour.gif)
<sub>▶ [Enregistrement asciinema](demo/tour.cast) (pause, avance rapide)</sub>
### Installer, mettre à jour et importer un profil
@@ -33,6 +35,7 @@ affiche le diff et demande une confirmation ; `import` rapatrie au contraire
la modification dans le dépôt.
![Installation d'un profil, mise à jour après une modification dans LXD, puis import](demo/install.gif)
<sub>▶ [Enregistrement asciinema](demo/install.cast) (pause, avance rapide)</sub>
## Tutoriels
+2 -1
View File
@@ -24,7 +24,8 @@ if prompt and first and not first[2].startswith(prompt):
events.insert(0, [0.0, "o", prompt])
if prompt:
for event in events:
if event[1] == "o" and event[2].endswith("\x1b[2J\x1b[3J"):
# Only autocast's own !Clear (a clear run in the shell redraws its prompt)
if event[1] == "o" and event[2] == "\r\x1b[H\x1b[2J\x1b[3J":
event[2] += prompt
shift, previous = 0.0, 0.0
+22 -19
View File
@@ -12,6 +12,7 @@ This tutorial starts from scratch: get this repository, install the
by itself at first boot, then use it.
![Clone the repository, install the profile, launch the instance and follow cloud-init](install.gif)
<sub>▶ [asciinema recording](install.cast) (pause, fast forward)</sub>
## What you need
@@ -20,7 +21,7 @@ by itself at first boot, then use it.
```shell
sudo snap install lxd
sudo usermod -aG lxd "$USER" # then log in again
sudo usermod --append --groups lxd "$USER" # then log in again
sudo lxd init --auto # default storage pool and lxdbr0 bridge
```
@@ -62,7 +63,7 @@ Let's first see what the repository offers around Docker, and what is already
installed in LXD:
```shell
mise run list | grep -E 'PROFIL|docker'
mise run list | grep --extended-regexp 'PROFIL|docker'
```
```
@@ -124,38 +125,38 @@ Install it in LXD:
```shell
mise run install docker-unprivileged
mise run list | grep -E 'PROFIL|docker-unprivileged' # ✅: up to date in LXD
mise run list | grep --extended-regexp 'PROFIL|docker-unprivileged' # ✅: up to date in LXD
```
## 3. Launch the instance and follow its installation
`ubuntu:lts` is the latest Ubuntu LTS release (26.04 at the time of writing).
A profile is added at launch, after the `default` profile (which brings the
disk and the network):
```shell
lxc launch ubuntu:24.04 docker -p default -p docker-unprivileged
lxc launch ubuntu:lts docker --profile default --profile docker-unprivileged
```
The instance starts in seconds, but cloud-init is still working in the
background: package upgrade, then Docker installation, about a minute and a
half. To wait for the end:
background: package upgrade, then Docker installation, about a minute. To wait
for the end and get the summary, errors included (`errors: []` when all went
well):
```shell
lxc exec docker -- cloud-init status --wait # one dot per second, then "status: done"
lxc exec docker -- cloud-init status --wait --long
```
To follow the installation live, the cloud-init log reads like any file
(Ctrl+C to stop):
To follow the installation live instead, the cloud-init log reads like any
file (Ctrl+C to stop):
```shell
lxc exec docker -- tail -f /var/log/cloud-init-output.log
lxc exec docker -- tail --follow /var/log/cloud-init-output.log
```
And if something goes wrong, `cloud-init status --long` sums up the errors.
Once done:
Once done, Docker is there:
```shell
lxc exec docker -- tail -n 1 /var/log/cloud-init-output.log
lxc exec docker -- docker version --format 'Docker {{.Server.Version}}'
lxc list docker
```
@@ -166,6 +167,7 @@ and the `docker0` bridge Docker just created inside.
## 4. Use Docker
![hello-world with lxc exec, then a shell in the instance: nginx, docker ps, top, stats](usage.gif)
<sub>▶ [asciinema recording](usage.cast) (pause, fast forward)</sub>
### From the host, with `lxc exec`
@@ -186,12 +188,12 @@ lxc shell docker
```
```shell
docker run -d --name web -p 8080:80 nginx:alpine # a web server in the background
docker run --detach --name web --publish 8080:80 nginx:alpine # a web server in the background
docker image ls # downloaded images
docker ps # running containers
docker top web -o pid,user,args # processes of the web container
docker top web --format pid,user,args # processes of the web container
docker stats --no-stream # CPU, memory, network
curl -s localhost:8080 | grep title # nginx answers
curl --silent localhost:8080 | grep title # nginx answers
exit # back to the host
```
@@ -203,7 +205,7 @@ exit # back to the host
```shell
lxc config device add docker web proxy listen=tcp:0.0.0.0:8080 connect=tcp:127.0.0.1:8080
curl -s localhost:8080 | grep title
curl --silent localhost:8080 | grep title
```
If port 8080 is already taken on the host, change the `listen` one. The
@@ -214,7 +216,8 @@ exit # back to the host
dedicated volume for Docker data (`docker-volume-data`)…
```shell
lxc launch ubuntu:24.04 docker -p default -p docker-unprivileged -p size-medium -p snapshots-daily
lxc launch ubuntu:lts docker --profile default --profile docker-unprivileged \
--profile size-medium --profile snapshots-daily
```
- **Clean up.** The instance goes away with one command, Docker and its images
with it; the profile too, if no longer needed:
@@ -231,7 +234,7 @@ The repository files are regular LXD profiles: `lxc` is enough.
```shell
lxc profile create docker-unprivileged
lxc profile edit docker-unprivileged < profiles/containerization/docker-unprivileged.profile.yaml
lxc launch ubuntu:24.04 docker -p default -p docker-unprivileged
lxc launch ubuntu:lts docker --profile default --profile docker-unprivileged
```
## Replaying the demos
+23 -20
View File
@@ -12,6 +12,7 @@ Ce tutoriel part de zéro : on récupère ce dépôt, on installe le profil
seule au premier démarrage, puis on s'en sert.
![Clone du dépôt, installation du profil, lancement de l'instance et suivi de cloud-init](install.gif)
<sub>▶ [Enregistrement asciinema](install.cast) (pause, avance rapide)</sub>
## Ce qu'il vous faut
@@ -20,7 +21,7 @@ seule au premier démarrage, puis on s'en sert.
```shell
sudo snap install lxd
sudo usermod -aG lxd "$USER" # puis se reconnecter
sudo usermod --append --groups lxd "$USER" # puis se reconnecter
sudo lxd init --auto # pool de stockage et bridge lxdbr0 par défaut
```
@@ -62,7 +63,7 @@ Commençons par voir ce que le dépôt propose autour de Docker, et ce qui est d
installé dans LXD :
```shell
mise run list | grep -E 'PROFIL|docker'
mise run list | grep --extended-regexp 'PROFIL|docker'
```
```
@@ -124,38 +125,38 @@ On l'installe dans LXD :
```shell
mise run install docker-unprivileged
mise run list | grep -E 'PROFIL|docker-unprivileged' # ✅ : à jour dans LXD
mise run list | grep --extended-regexp 'PROFIL|docker-unprivileged' # ✅ : à jour dans LXD
```
## 3. Lancer l'instance et suivre son installation
Un profil s'ajoute au lancement, après le profil `default` (qui apporte le disque
et le réseau) :
`ubuntu:lts` désigne la dernière version LTS d'Ubuntu (26.04 à l'écriture de ces
lignes). Un profil s'ajoute au lancement, après le profil `default` (qui
apporte le disque et le réseau) :
```shell
lxc launch ubuntu:24.04 docker -p default -p docker-unprivileged
lxc launch ubuntu:lts docker --profile default --profile docker-unprivileged
```
L'instance démarre en quelques secondes, mais cloud-init travaille encore en
arrière-plan : mise à jour des paquets puis installation de Docker, environ une
minute et demie. Pour attendre la fin :
minute. Pour attendre la fin et obtenir le bilan, erreurs éventuelles comprises
(`errors: []` quand tout s'est bien passé) :
```shell
lxc exec docker -- cloud-init status --wait # un point par seconde, puis « status: done »
lxc exec docker -- cloud-init status --wait --long
```
Pour suivre l'installation en direct, le journal de cloud-init se lit comme
n'importe quel fichier (Ctrl+C pour arrêter) :
Pour suivre plutôt l'installation en direct, le journal de cloud-init se lit
comme n'importe quel fichier (Ctrl+C pour arrêter) :
```shell
lxc exec docker -- tail -f /var/log/cloud-init-output.log
lxc exec docker -- tail --follow /var/log/cloud-init-output.log
```
Et si quelque chose se passe mal, `cloud-init status --long` résume les erreurs.
Une fois terminé :
Une fois terminé, Docker est là :
```shell
lxc exec docker -- tail -n 1 /var/log/cloud-init-output.log
lxc exec docker -- docker version --format 'Docker {{.Server.Version}}'
lxc list docker
```
@@ -166,6 +167,7 @@ LXD, et celle du bridge `docker0` que Docker vient de créer à l'intérieur.
## 4. Utiliser Docker
![hello-world avec lxc exec, puis un shell dans l'instance : nginx, docker ps, top, stats](usage.gif)
<sub>▶ [Enregistrement asciinema](usage.cast) (pause, avance rapide)</sub>
### Depuis l'hôte, avec `lxc exec`
@@ -186,12 +188,12 @@ lxc shell docker
```
```shell
docker run -d --name web -p 8080:80 nginx:alpine # un serveur web en arrière-plan
docker run --detach --name web --publish 8080:80 nginx:alpine # un serveur web en arrière-plan
docker image ls # images téléchargées
docker ps # conteneurs en cours
docker top web -o pid,user,args # processus du conteneur web
docker top web --format pid,user,args # processus du conteneur web
docker stats --no-stream # CPU, mémoire, réseau
curl -s localhost:8080 | grep title # nginx répond
curl --silent localhost:8080 | grep title # nginx répond
exit # retour sur l'hôte
```
@@ -203,7 +205,7 @@ exit # retour sur l'hôte
```shell
lxc config device add docker web proxy listen=tcp:0.0.0.0:8080 connect=tcp:127.0.0.1:8080
curl -s localhost:8080 | grep title
curl --silent localhost:8080 | grep title
```
Si le port 8080 est déjà pris sur l'hôte, changez celui de `listen`. Le dépôt
@@ -214,7 +216,8 @@ exit # retour sur l'hôte
(`snapshots-daily`), volume dédié aux données Docker (`docker-volume-data`)…
```shell
lxc launch ubuntu:24.04 docker -p default -p docker-unprivileged -p size-medium -p snapshots-daily
lxc launch ubuntu:lts docker --profile default --profile docker-unprivileged \
--profile size-medium --profile snapshots-daily
```
- **Faire le ménage.** L'instance se supprime d'une commande, Docker et ses
images avec ; le profil, s'il ne sert plus :
@@ -231,7 +234,7 @@ Les fichiers du dépôt sont des profils LXD ordinaires : `lxc` suffit.
```shell
lxc profile create docker-unprivileged
lxc profile edit docker-unprivileged < profiles/containerization/docker-unprivileged.profile.yaml
lxc launch ubuntu:24.04 docker -p default -p docker-unprivileged
lxc launch ubuntu:lts docker --profile default --profile docker-unprivileged
```
## Rejouer les démos
+1167 -1253
View File
File diff suppressed because it is too large. Load diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 902 KiB

After

Width:  |  Height:  |  Size: 887 KiB

+4 -5
View File
@@ -30,19 +30,18 @@ instructions:
- !Clear
- !Marker Profile
- !Command {command: "# Docker profiles available in the repository, not installed in LXD yet"}
- !Command {command: "mise run list | grep -E 'PROFIL|docker'"}
- !Command {command: "mise run list | grep --extended-regexp 'PROFIL|docker'"}
- !Wait 3s
- !Command {command: "mise run show docker-unprivileged"}
- !Wait 4s
- !Command {command: "mise run install docker-unprivileged"}
- !Command {command: "mise run list | grep -E 'PROFIL|docker-unprivileged'"}
- !Command {command: "mise run list | grep --extended-regexp 'PROFIL|docker-unprivileged'"}
- !Wait 3s
- !Clear
- !Marker Launch
- !Command {command: "# Launch an instance with the profile: cloud-init installs Docker at first boot"}
- !Command {command: "lxc launch ubuntu:24.04 docker -p default -p docker-unprivileged"}
- !Command {command: "lxc exec docker -- cloud-init status --wait"}
- !Command {command: "lxc exec docker -- tail -n 1 /var/log/cloud-init-output.log"}
- !Command {command: "lxc launch ubuntu:lts docker --profile default --profile docker-unprivileged"}
- !Command {command: "lxc exec docker -- cloud-init status --wait --long"}
- !Wait 2s
- !Command {command: "lxc exec docker -- docker version --format 'Docker {{.Server.Version}}'"}
- !Command {command: "lxc list docker"}
+1 -1
View File
@@ -32,7 +32,7 @@ case "$1" in
if ! lxc info "$DEMO_INSTANCE" >/dev/null 2>&1; then
DEMO_CREATED=yes
mise run install --yes "$DEMO_PROFILE" >/dev/null
lxc launch ubuntu:24.04 "$DEMO_INSTANCE" -p default -p "$DEMO_PROFILE" >/dev/null
lxc launch ubuntu:lts "$DEMO_INSTANCE" --profile default --profile "$DEMO_PROFILE" >/dev/null
lxc exec "$DEMO_INSTANCE" -- cloud-init status --wait >/dev/null
fi
demo_instance_shell
+451 -405
View File
@@ -1,4 +1,4 @@
{"version": 2, "width": 156, "height": 36, "timestamp": 1795282611, "duration": 37.680604, "env": {"TERM": "xterm-256color", "PROMPT_COMMAND": "bind 'set enable-bracketed-paste off'", "SHELL": "/usr/bin/bash", "PS1": "\\[\\e[1;34m\\]lxd\\[\\e[0m\\] > AUTOCAST_PROMPT"}}
{"version": 2, "width": 156, "height": 36, "timestamp": 1795286979, "duration": 38.410937, "env": {"PS1": "\\[\\e[1;34m\\]lxd\\[\\e[0m\\] > AUTOCAST_PROMPT", "PROMPT_COMMAND": "bind 'set enable-bracketed-paste off'", "TERM": "xterm-256color", "SHELL": "/usr/bin/bash"}}
[0.0, "o", "\u001b[1;34mlxd\u001b[0m > "]
[0.0, "o", ""]
[0.0, "m", "Exec"]
@@ -48,407 +48,453 @@
[1.54, "o", "s"]
[1.575, "o", "t"]
[1.61, "o", "\r\n"]
[1.613729, "o", "\u001b[1;34mlxd\u001b[0m > "]
[1.613729, "o", ""]
[1.648729, "o", "l"]
[1.683729, "o", "x"]
[1.718729, "o", "c"]
[1.753729, "o", " "]
[1.788729, "o", "e"]
[1.823729, "o", "x"]
[1.858729, "o", "e"]
[1.893729, "o", "c"]
[1.928729, "o", " "]
[1.963729, "o", "d"]
[1.998729, "o", "o"]
[2.033729, "o", "c"]
[2.068729, "o", "k"]
[2.103729, "o", "e"]
[2.138729, "o", "r"]
[2.173729, "o", " "]
[2.208729, "o", "-"]
[2.243729, "o", "-"]
[2.278729, "o", " "]
[2.313729, "o", "d"]
[2.348729, "o", "o"]
[2.383729, "o", "c"]
[2.418729, "o", "k"]
[2.453729, "o", "e"]
[2.488729, "o", "r"]
[2.523729, "o", " "]
[2.558729, "o", "r"]
[2.593729, "o", "u"]
[2.628729, "o", "n"]
[2.663729, "o", " "]
[2.698729, "o", "-"]
[2.733729, "o", "-"]
[2.768729, "o", "r"]
[2.803729, "o", "m"]
[2.838729, "o", " "]
[2.873729, "o", "h"]
[2.908729, "o", "e"]
[2.943729, "o", "l"]
[2.978729, "o", "l"]
[3.013729, "o", "o"]
[3.048729, "o", "-"]
[3.083729, "o", "w"]
[3.118729, "o", "o"]
[3.153729, "o", "r"]
[3.188729, "o", "l"]
[3.223729, "o", "d"]
[3.258729, "o", "\r\n"]
[3.508599, "o", "Unable to find image 'hello-world:latest' locally\r\n"]
[4.323996, "o", "latest: Pulling from library/hello-world\r\n"]
[4.939573, "o", "\r\n\u001b[1A\u001b[2K\r4f55086f7dd0: Pulling fs layer \r\u001b[1B"]
[5.333953, "o", "\u001b[1A\u001b[2K\r4f55086f7dd0: Download complete \r\u001b[1B\u001b[1A\u001b[2K\r4f55086f7dd0: Pull complete \r\u001b[1B"]
[5.532067, "o", "\r\n\u001b[1A\u001b[2K\rd5e71e642bf5: "]
[5.532075, "o", "Download complete \r\u001b[1B"]
[5.549241, "o", "Digest: sha256:1e4c05b897a751332ce85c7e9449da2d93514ea2dea6dbb0e2753c9e949b2bfa\r\nStatus: Downloaded newer image for hello-world:latest\r\n"]
[5.975424, "o", "\r\nHello from Docker!\r\nThis message shows that your installation appears to be working correctly.\r\n\r\nTo generate this message, Docker took the following steps:\r\n 1. The Docker client contacted the Docker daemon.\r\n 2. The Docker daemon pulled the \"hello-world\" image from the Docker Hub.\r\n (amd64)\r\n 3. The Docker daemon created a new container from that image which runs the\r\n executable that produces the output you are currently reading.\r\n 4. The Docker daemon streamed that output to the Docker client, which sent it\r\n to your terminal.\r\n\r\nTo try something more ambitious, you can run an Ubuntu container with:\r\n $ docker run -it ubuntu bash\r\n\r\nShare images, automate workflows, and more with a free Docker ID:\r\n https://hub.docker.com/\r\n\r\nFor more examples and ideas, visit:\r\n https://docs.docker.com/get-started/\r\n\r\n"]
[6.195088, "o", "\u001b[1;34mlxd\u001b[0m > "]
[6.195089, "o", ""]
[10.230089, "o", "\r\u001b[H\u001b[2J\u001b[3J\u001b[1;34mlxd\u001b[0m > "]
[10.265089, "o", ""]
[10.265089, "m", "Shell"]
[10.300089, "o", "#"]
[10.335089, "o", " "]
[10.370089, "o", "O"]
[10.405089, "o", "r"]
[10.440089, "o", " "]
[10.475089, "o", "o"]
[10.510089, "o", "p"]
[10.545089, "o", "e"]
[10.580089, "o", "n"]
[10.615089, "o", " "]
[10.650089, "o", "a"]
[10.685089, "o", " "]
[10.720089, "o", "s"]
[10.755089, "o", "h"]
[10.790089, "o", "e"]
[10.825089, "o", "l"]
[10.860089, "o", "l"]
[10.895089, "o", " "]
[10.930089, "o", "i"]
[10.965089, "o", "n"]
[11.000089, "o", " "]
[11.035089, "o", "t"]
[11.070089, "o", "h"]
[11.105089, "o", "e"]
[11.140089, "o", " "]
[11.175089, "o", "i"]
[11.210089, "o", "n"]
[11.245089, "o", "s"]
[11.280089, "o", "t"]
[11.315089, "o", "a"]
[11.350089, "o", "n"]
[11.385089, "o", "c"]
[11.420089, "o", "e"]
[11.455089, "o", " "]
[11.490089, "o", "a"]
[11.525089, "o", "n"]
[11.560089, "o", "d"]
[11.595089, "o", " "]
[11.630089, "o", "u"]
[11.665089, "o", "s"]
[11.700089, "o", "e"]
[11.735089, "o", " "]
[11.770089, "o", "D"]
[11.805089, "o", "o"]
[11.840089, "o", "c"]
[11.875089, "o", "k"]
[11.910089, "o", "e"]
[11.945089, "o", "r"]
[11.980089, "o", " "]
[12.015089, "o", "a"]
[12.050089, "o", "s"]
[12.085089, "o", " "]
[12.120089, "o", "o"]
[12.155089, "o", "n"]
[12.190089, "o", " "]
[12.225089, "o", "a"]
[12.260089, "o", "n"]
[12.295089, "o", "y"]
[12.330089, "o", " "]
[12.365089, "o", "m"]
[12.400089, "o", "a"]
[12.435089, "o", "c"]
[12.470089, "o", "h"]
[12.505089, "o", "i"]
[12.540089, "o", "n"]
[12.575089, "o", "e"]
[12.610089, "o", "\r\n"]
[12.6133, "o", "\u001b[1;34mlxd\u001b[0m > "]
[12.6133, "o", ""]
[12.6483, "o", "l"]
[12.6833, "o", "x"]
[12.7183, "o", "c"]
[12.7533, "o", " "]
[12.7883, "o", "s"]
[12.8233, "o", "h"]
[12.8583, "o", "e"]
[12.8933, "o", "l"]
[12.9283, "o", "l"]
[12.9633, "o", " "]
[12.9983, "o", "d"]
[13.0333, "o", "o"]
[13.0683, "o", "c"]
[13.1033, "o", "k"]
[13.1383, "o", "e"]
[13.1733, "o", "r"]
[13.2083, "o", "\r\n"]
[13.487959, "o", "\u001b[1;32mroot@docker\u001b[0m:~# "]
[13.48796, "o", ""]
[13.52296, "o", "d"]
[13.55796, "o", "o"]
[13.59296, "o", "c"]
[13.62796, "o", "k"]
[13.66296, "o", "e"]
[13.69796, "o", "r"]
[13.73296, "o", " "]
[13.76796, "o", "r"]
[13.80296, "o", "u"]
[13.83796, "o", "n"]
[13.87296, "o", " "]
[13.90796, "o", "-"]
[13.94296, "o", "d"]
[13.97796, "o", " "]
[14.01296, "o", "-"]
[14.04796, "o", "-"]
[14.08296, "o", "n"]
[14.11796, "o", "a"]
[14.15296, "o", "m"]
[14.18796, "o", "e"]
[14.22296, "o", " "]
[14.25796, "o", "w"]
[14.29296, "o", "e"]
[14.32796, "o", "b"]
[14.36296, "o", " "]
[14.39796, "o", "-"]
[14.43296, "o", "p"]
[14.46796, "o", " "]
[14.50296, "o", "8"]
[14.53796, "o", "0"]
[14.57296, "o", "8"]
[14.60796, "o", "0"]
[14.64296, "o", ":"]
[14.67796, "o", "8"]
[14.71296, "o", "0"]
[14.74796, "o", " "]
[14.78296, "o", "n"]
[14.81796, "o", "g"]
[14.85296, "o", "i"]
[14.88796, "o", "n"]
[14.92296, "o", "x"]
[14.95796, "o", ":"]
[14.99296, "o", "a"]
[15.02796, "o", "l"]
[15.06296, "o", "p"]
[15.09796, "o", "i"]
[15.13296, "o", "n"]
[15.16796, "o", "e"]
[15.20296, "o", "\r\n"]
[15.220856, "o", "Unable to find image 'nginx:alpine' locally\r\n"]
[16.015379, "o", "alpine: Pulling from library/nginx\r\n"]
[16.382424, "o", "\r\n\u001b[1A\u001b[2K\r881fc932939e: Pulling fs layer \r\u001b[1B\r\n\u001b[1A\u001b[2K\r61d8f4c85a74: "]
[16.383325, "o", "Pulling fs layer \r\u001b[1B\r\n\u001b[1A\u001b[2K\r1dc588c89da1: Pulling fs layer \r\u001b[1B\r\n\u001b[1A\u001b[2K\rc4f3d97811f6: Pulling fs layer \r\u001b[1B\r\n\u001b[1A\u001b[2K\r77a3bfea78f5: Pulling fs layer \r\u001b[1B\r\n\u001b[1A\u001b[2K\r04c3905a997c: Pulling fs layer \r\u001b[1B\r\n\u001b[1A\u001b[2K\r4c8c172c6586: Pulling fs layer \r\u001b[1B"]
[16.383358, "o", "\r\n\u001b[1A\u001b[2K\r7cb374baf968: Pulling fs layer \r\u001b[1B"]
[16.646108, "o", "\u001b[7A\u001b[2K\r61d8f4c85a74: Download complete \r\u001b[7B"]
[16.646215, "o", "\u001b[8A\u001b[2K\r881fc932939e: Download complete \r\u001b[8B"]
[16.646222, "o", "\u001b[6A\u001b[2K\r1dc588c89da1: Downloading [==================================================>] 1.211kB/1.211kB\r\u001b[6B"]
[16.646661, "o", "\u001b[8A\u001b[2K\r881fc932939e: Extracting 1 s\r\u001b[8B"]
[16.7513, "o", "\u001b[6A\u001b[2K\r1dc588c89da1: Download complete \r\u001b[6B\u001b[5A\u001b[2K\rc4f3d97811f6: Downloading [============> ] 5.243MB/20.54MB\r\u001b[5B"]
[16.753518, "o", "\u001b[8A\u001b[2K\r881fc932939e: Extracting 1 s\r\u001b[8B"]
[16.845026, "o", "\u001b[5A\u001b[2K\rc4f3d97811f6: Downloading [======================================> ] 15.73MB/20.54MB\r\u001b[5B"]
[16.84839, "o", "\u001b[4A\u001b[2K\r77a3bfea78f5: Download complete \r\u001b[4B"]
[16.848426, "o", "\u001b[2A"]
[16.848478, "o", "\u001b[2K\r4c8c172c6586: Download complete \r\u001b[2B"]
[16.84929, "o", "\u001b[8A\u001b[2K\r881fc932939e: Extracting 1 s\r\u001b[8B"]
[16.945193, "o", "\u001b[1A\u001b[2K\r7cb374baf968: Downloading [==================================================>] 965B/965B\r\u001b[1B"]
[16.945626, "o", "\u001b[3A\u001b[2K\r04c3905a997c: Download complete \r\u001b[3B"]
[16.946084, "o", "\u001b[8A\u001b[2K\r881fc932939e: Extracting 1 s\r\u001b[8B"]
[17.04583, "o", "\u001b[5A\u001b[2K"]
[17.045851, "o", "\rc4f3d97811f6: Download complete \r\u001b[5B\u001b[1A\u001b[2K\r7cb374baf968: Download complete \r\u001b[1B"]
[17.046393, "o", "\u001b[8A\u001b[2K"]
[17.046438, "o", "\r881fc932939e: Extracting 1 s\r\u001b[8B"]
[17.146048, "o", "\u001b[8A\u001b[2K\r881fc932939e: Pull complete \r\u001b[8B"]
[17.248037, "o", "\r\n\u001b[1A\u001b[2K\r79979b969278: Download complete \r\u001b[1B\r\n\u001b[1A\u001b[2K\r33247e384332: Download complete \r\u001b[1B"]
[17.24941, "o", "\u001b[6A\u001b[2K\r77a3bfea78f5: Extracting 1 s\r\u001b[6B"]
[17.34931, "o", "\u001b[6A\u001b[2K\r77a3bfea78f5: Extracting 1 s\r\u001b[6B"]
[17.446575, "o", "\u001b[6A\u001b[2K\r"]
[17.446615, "o", "77a3bfea78f5: Pull complete \r\u001b[6B"]
[17.447027, "o", "\u001b[5A\u001b[2K\r04c3905a997c: Extracting 1 s\r\u001b[5B"]
[17.548262, "o", "\u001b[5A\u001b[2K\r04c3905a997c: Pull complete \r\u001b[5B"]
[17.548612, "o", "\u001b[3A\u001b[2K\r7cb374baf968: Pull complete \r\u001b[3B"]
[17.647564, "o", "\u001b[8A\u001b[2K\r1dc588c89da1: Extracting 1 s\r\u001b[8B"]
[17.647948, "o", "\u001b[4A\u001b[2K\r4c8c172c6586: Pull complete \r\u001b[4B"]
[17.745396, "o", "\u001b[8A\u001b[2K\r1dc588c89da1: Pull complete \r\u001b[8B"]
[17.845379, "o", "\u001b[9A\u001b[2K\r61d8f4c85a74: Pull complete \r\u001b[9B"]
[17.845712, "o", "\u001b[7A\u001b[2K\rc4f3d97811f6: Extracting 1 s\r\u001b[7B"]
[17.946718, "o", "\u001b[7A\u001b[2K\rc4f3d97811f6: Extracting 1 s\r\u001b[7B"]
[18.046347, "o", "\u001b[7A\u001b[2K\rc4f3d97811f6: Extracting 1 s\r\u001b[7B"]
[18.145277, "o", "\u001b[7A\u001b[2K\rc4f3d97811f6: Extracting 1 s\r\u001b[7B"]
[18.245237, "o", "\u001b[7A\u001b[2K\rc4f3d97811f6: Extracting 1 s\r\u001b[7B"]
[18.347123, "o", "\u001b[7A\u001b[2K"]
[18.34812, "o", "\rc4f3d97811f6: Extracting 1 s\r\u001b[7B"]
[18.445102, "o", "\u001b[7A\u001b[2K\rc4f3d97811f6: Pull complete \r\u001b[7B"]
[18.470357, "o", "Digest: sha256:fb4658584bd9a916ffb6f6e365f97c25cfdb2923801f551ea08356e695f14ff7\r\nStatus: Downloaded newer image for nginx:alpine\r\n"]
[18.653218, "o", "4356be02dd2c9bbd03025fb22366e564d780c7622c489e8857b3510e120c78c3\r\n"]
[18.876775, "o", "\u001b[1;32mroot@docker\u001b[0m:~# "]
[18.876776, "o", ""]
[20.911776, "o", "c"]
[20.946776, "o", "l"]
[20.981776, "o", "e"]
[21.016776, "o", "a"]
[21.051776, "o", "r"]
[21.086776, "o", "\r\n"]
[21.087913, "o", "\u001b[H\u001b[2J\u001b[3J\u001b[1;34mlxd\u001b[0m > "]
[21.088026, "o", "\u001b[1;32mroot@docker\u001b[0m:~# "]
[21.088026, "o", ""]
[21.123026, "o", "d"]
[21.158026, "o", "o"]
[21.193026, "o", "c"]
[21.228026, "o", "k"]
[21.263026, "o", "e"]
[21.298026, "o", "r"]
[21.333026, "o", " "]
[21.368026, "o", "i"]
[21.403026, "o", "m"]
[21.438026, "o", "a"]
[21.473026, "o", "g"]
[21.508026, "o", "e"]
[21.543026, "o", " "]
[21.578026, "o", "l"]
[21.613026, "o", "s"]
[21.648026, "o", "\r\n"]
[21.714674, "o", " \u001b[1m\u001b[106m\u001b[30mi\u001b[0m\u001b[0m \u001b[96mInfo → \u001b[0m\u001b[0m \u001b[38;5;0m\u001b[48;5;14m U \u001b[0m In Use\r\n\u001b[39m\u001b[1mIMAGE\u001b[0m \u001b[39m\u001b[1mID\u001b[0m \u001b[39m\u001b[1mDISK USAGE\u001b[0m \u001b[39m\u001b[1mCONTENT SIZE\u001b[0m \u001b[39m\u001b[1mEXTRA\u001b[0m\r\n\u001b[34m\u001b[1mhello-world:latest\u001b[0m \u001b[39m1e4c05b897a7\u001b[0m "]
[21.714735, "o", " \u001b[39m21.8kB\u001b[0m \u001b[39m9.49kB\u001b[0m \r\n\u001b[34m\u001b[1mnginx:alpine\u001b[0m \u001b[39mfb4658584bd9\u001b[0m \u001b[39m95.7MB\u001b[0m \u001b[39m27.2MB\u001b[0m \u001b[38;5;0m\u001b[48;5;14m U \u001b[0m \r\n"]
[21.727198, "o", "\u001b[1;32mroot@docker\u001b[0m:~# "]
[21.727198, "o", ""]
[21.762198, "o", "d"]
[21.797198, "o", "o"]
[21.832198, "o", "c"]
[21.867198, "o", "k"]
[21.902198, "o", "e"]
[21.937198, "o", "r"]
[21.972198, "o", " "]
[22.007198, "o", "p"]
[22.042198, "o", "s"]
[22.077198, "o", "\r\n"]
[22.103539, "o", "CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES\r\n4356be02dd2c nginx:alpine \"/docker-entrypoint.…\" 1 second ago Up Less than a second 0.0.0.0:8080->80/tcp, [::]:8080->80/tcp web\r\n"]
[22.104791, "o", "\u001b[1;32mroot@docker\u001b[0m:~# "]
[22.104791, "o", ""]
[25.139791, "o", "d"]
[25.174791, "o", "o"]
[25.209791, "o", "c"]
[25.244791, "o", "k"]
[25.279791, "o", "e"]
[25.314791, "o", "r"]
[25.349791, "o", " "]
[25.384791, "o", "t"]
[25.419791, "o", "o"]
[25.454791, "o", "p"]
[25.489791, "o", " "]
[25.524791, "o", "w"]
[25.559791, "o", "e"]
[25.594791, "o", "b"]
[25.629791, "o", " "]
[25.664791, "o", "-"]
[25.699791, "o", "o"]
[25.734791, "o", " "]
[25.769791, "o", "p"]
[25.804791, "o", "i"]
[25.839791, "o", "d"]
[25.874791, "o", ","]
[25.909791, "o", "u"]
[25.944791, "o", "s"]
[25.979791, "o", "e"]
[26.014791, "o", "r"]
[26.049791, "o", ","]
[26.084791, "o", "a"]
[26.119791, "o", "r"]
[26.154791, "o", "g"]
[26.189791, "o", "s"]
[26.224791, "o", "\r\n"]
[26.254129, "o", "PID USER COMMAND\r\n10702 root nginx: master process nginx -g daemon off;\r\n10778 message+ nginx: worker process\r\n10779 message+ nginx: worker process\r\n10780 message+ nginx: worker process\r\n10781 "]
[26.254218, "o", "message+ nginx: worker process\r\n10782 message+ nginx: worker process\r\n10783 message+ nginx: worker process\r\n10784 message+ "]
[26.254253, "o", "nginx: worker process"]
[26.254266, "o", "\r\n10786"]
[26.254286, "o", " message+ nginx: worker process\r\n"]
[26.257188, "o", "\u001b[1;32mroot@docker\u001b[0m:~# "]
[26.257189, "o", ""]
[26.292189, "o", "d"]
[26.327189, "o", "o"]
[26.362189, "o", "c"]
[26.397189, "o", "k"]
[26.432189, "o", "e"]
[26.467189, "o", "r"]
[26.502189, "o", " "]
[26.537189, "o", "s"]
[26.572189, "o", "t"]
[26.607189, "o", "a"]
[26.642189, "o", "t"]
[26.677189, "o", "s"]
[26.712189, "o", " "]
[26.747189, "o", "-"]
[26.782189, "o", "-"]
[26.817189, "o", "n"]
[26.852189, "o", "o"]
[26.887189, "o", "-"]
[26.922189, "o", "s"]
[26.957189, "o", "t"]
[26.992189, "o", "r"]
[27.027189, "o", "e"]
[27.062189, "o", "a"]
[27.097189, "o", "m"]
[27.132189, "o", "\r\n"]
[28.176777, "o", "CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS\r\n4356be02dd2c web 0.00% 7.477MiB / 30.26GiB 0.02% 646B / 84B 0B / 0B 9\r\n"]
[28.177542, "o", "\u001b[1;32mroot@docker\u001b[0m:~# "]
[28.177543, "o", ""]
[31.212543, "o", "c"]
[31.247543, "o", "u"]
[31.282543, "o", "r"]
[31.317543, "o", "l"]
[31.352543, "o", " "]
[31.387543, "o", "-"]
[31.422543, "o", "s"]
[31.457543, "o", " "]
[31.492543, "o", "l"]
[31.527543, "o", "o"]
[31.562543, "o", "c"]
[31.597543, "o", "a"]
[31.632543, "o", "l"]
[31.667543, "o", "h"]
[31.702543, "o", "o"]
[31.737543, "o", "s"]
[31.772543, "o", "t"]
[31.807543, "o", ":"]
[31.842543, "o", "8"]
[31.877543, "o", "0"]
[31.912543, "o", "8"]
[31.947543, "o", "0"]
[31.982543, "o", " "]
[32.017543, "o", "|"]
[32.052543, "o", " "]
[32.087543, "o", "g"]
[32.122543, "o", "r"]
[32.157543, "o", "e"]
[32.192543, "o", "p"]
[32.227543, "o", " "]
[32.262543, "o", "t"]
[32.297543, "o", "i"]
[32.332543, "o", "t"]
[32.367543, "o", "l"]
[32.402543, "o", "e"]
[32.437543, "o", "\r\n"]
[32.443973, "o", "<\u001b[01;31m\u001b[Ktitle\u001b[m\u001b[K>Welcome to nginx!</\u001b[01;31m\u001b[Ktitle\u001b[m\u001b[K>\r\n"]
[32.444591, "o", "\u001b[1;32mroot@docker\u001b[0m:~# "]
[32.444591, "o", ""]
[32.479591, "o", "e"]
[32.514591, "o", "x"]
[32.549591, "o", "i"]
[32.584591, "o", "t"]
[32.619591, "o", "\r\n"]
[32.619844, "o", "logout\r\n"]
[32.645603, "o", "\u001b[1;34mlxd\u001b[0m > "]
[32.645604, "o", ""]
[37.680604, "o", "\r\n"]
[1.613552, "o", "\u001b[1;34mlxd\u001b[0m > "]
[1.613553, "o", ""]
[1.648553, "o", "l"]
[1.683553, "o", "x"]
[1.718553, "o", "c"]
[1.753553, "o", " "]
[1.788553, "o", "e"]
[1.823553, "o", "x"]
[1.858553, "o", "e"]
[1.893553, "o", "c"]
[1.928553, "o", " "]
[1.963553, "o", "d"]
[1.998553, "o", "o"]
[2.033553, "o", "c"]
[2.068553, "o", "k"]
[2.103553, "o", "e"]
[2.138553, "o", "r"]
[2.173553, "o", " "]
[2.208553, "o", "-"]
[2.243553, "o", "-"]
[2.278553, "o", " "]
[2.313553, "o", "d"]
[2.348553, "o", "o"]
[2.383553, "o", "c"]
[2.418553, "o", "k"]
[2.453553, "o", "e"]
[2.488553, "o", "r"]
[2.523553, "o", " "]
[2.558553, "o", "r"]
[2.593553, "o", "u"]
[2.628553, "o", "n"]
[2.663553, "o", " "]
[2.698553, "o", "-"]
[2.733553, "o", "-"]
[2.768553, "o", "r"]
[2.803553, "o", "m"]
[2.838553, "o", " "]
[2.873553, "o", "h"]
[2.908553, "o", "e"]
[2.943553, "o", "l"]
[2.978553, "o", "l"]
[3.013553, "o", "o"]
[3.048553, "o", "-"]
[3.083553, "o", "w"]
[3.118553, "o", "o"]
[3.153553, "o", "r"]
[3.188553, "o", "l"]
[3.223553, "o", "d"]
[3.258553, "o", "\r\n"]
[3.389595, "o", "Unable to find image 'hello-world:latest' locally\r\n"]
[4.179716, "o", "latest: Pulling from library/hello-world\r\n"]
[4.587887, "o", "\r\n\u001b[1A\u001b[2K\r4f55086f7dd0: Pulling fs layer \r\u001b[1B"]
[4.800305, "o", "\u001b[1A\u001b[2K\r4f55086f7dd0: Download complete \r\u001b[1B"]
[4.800585, "o", "\u001b[1A\u001b[2K\r4f55086f7dd0: Extracting 1 s\r\u001b[1B"]
[4.90106, "o", "\u001b[1A\u001b[2K\r4f55086f7dd0: Pull complete \r\u001b[1B"]
[4.999717, "o", "\r\n\u001b[1A\u001b[2K\rd5e71e642bf5: Download complete \r\u001b[1B"]
[5.031106, "o", "Digest: sha256:1e4c05b897a751332ce85c7e9449da2d93514ea2dea6dbb0e2753c9e949b2bfa\r\nStatus: Downloaded newer image for hello-world:latest\r\n"]
[5.431539, "o", "\r\nHello from Docker!\r\nThis message shows that your installation appears to be working correctly.\r\n\r\nTo generate this message, Docker took the following steps:\r\n 1. The Docker client contacted the Docker daemon.\r\n 2. The Docker daemon pulled the \"hello-world\" image from the Docker Hub.\r\n (amd64)\r\n 3. The Docker daemon created a new container from that image which runs the\r\n executable that produces the output you are currently reading.\r\n 4. The Docker daemon streamed that output to the Docker client, which sent it\r\n to your terminal.\r\n\r\nTo try something more ambitious, you can run an Ubuntu container with:\r\n $ docker run -it ubuntu bash\r\n\r\nShare images, automate workflows, and more with a free Docker ID:\r\n https://hub.docker.com/\r\n\r\nFor more examples and ideas, visit:\r\n https://docs.docker.com/get-started/\r\n\r\n"]
[5.650193, "o", "\u001b[1;34mlxd\u001b[0m > "]
[5.650194, "o", ""]
[9.685194, "o", "\r\u001b[H\u001b[2J\u001b[3J\u001b[1;34mlxd\u001b[0m > "]
[9.720194, "o", ""]
[9.720194, "m", "Shell"]
[9.755194, "o", "#"]
[9.790194, "o", " "]
[9.825194, "o", "O"]
[9.860194, "o", "r"]
[9.895194, "o", " "]
[9.930194, "o", "o"]
[9.965194, "o", "p"]
[10.000194, "o", "e"]
[10.035194, "o", "n"]
[10.070194, "o", " "]
[10.105194, "o", "a"]
[10.140194, "o", " "]
[10.175194, "o", "s"]
[10.210194, "o", "h"]
[10.245194, "o", "e"]
[10.280194, "o", "l"]
[10.315194, "o", "l"]
[10.350194, "o", " "]
[10.385194, "o", "i"]
[10.420194, "o", "n"]
[10.455194, "o", " "]
[10.490194, "o", "t"]
[10.525194, "o", "h"]
[10.560194, "o", "e"]
[10.595194, "o", " "]
[10.630194, "o", "i"]
[10.665194, "o", "n"]
[10.700194, "o", "s"]
[10.735194, "o", "t"]
[10.770194, "o", "a"]
[10.805194, "o", "n"]
[10.840194, "o", "c"]
[10.875194, "o", "e"]
[10.910194, "o", " "]
[10.945194, "o", "a"]
[10.980194, "o", "n"]
[11.015194, "o", "d"]
[11.050194, "o", " "]
[11.085194, "o", "u"]
[11.120194, "o", "s"]
[11.155194, "o", "e"]
[11.190194, "o", " "]
[11.225194, "o", "D"]
[11.260194, "o", "o"]
[11.295194, "o", "c"]
[11.330194, "o", "k"]
[11.365194, "o", "e"]
[11.400194, "o", "r"]
[11.435194, "o", " "]
[11.470194, "o", "a"]
[11.505194, "o", "s"]
[11.540194, "o", " "]
[11.575194, "o", "o"]
[11.610194, "o", "n"]
[11.645194, "o", " "]
[11.680194, "o", "a"]
[11.715194, "o", "n"]
[11.750194, "o", "y"]
[11.785194, "o", " "]
[11.820194, "o", "m"]
[11.855194, "o", "a"]
[11.890194, "o", "c"]
[11.925194, "o", "h"]
[11.960194, "o", "i"]
[11.995194, "o", "n"]
[12.030194, "o", "e"]
[12.065194, "o", "\r\n"]
[12.068484, "o", "\u001b[1;34mlxd\u001b[0m > "]
[12.068484, "o", ""]
[12.103484, "o", "l"]
[12.138484, "o", "x"]
[12.173484, "o", "c"]
[12.208484, "o", " "]
[12.243484, "o", "s"]
[12.278484, "o", "h"]
[12.313484, "o", "e"]
[12.348484, "o", "l"]
[12.383484, "o", "l"]
[12.418484, "o", " "]
[12.453484, "o", "d"]
[12.488484, "o", "o"]
[12.523484, "o", "c"]
[12.558484, "o", "k"]
[12.593484, "o", "e"]
[12.628484, "o", "r"]
[12.663484, "o", "\r\n"]
[12.925736, "o", "\u001b]3008;start=f47dd143b8174c44aef0e85845074248;user=root;hostname=docker;machineid=fee09faa07ad4b838265ae23070d7d35;bootid=d0c476175ddf4367869c1347fa57e1bf;pid=4855;pidfdid=476481;comm=su;targetuser=root;sessionid=c1;type=session\u001b\\"]
[12.958744, "o", "\u001b]3008;start=67e73a71-aa8c-4553-9b2c-f6b84ded2924;type=shell;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\"]
[12.958801, "o", "\u001b[1;32mroot@docker\u001b[0m:~# "]
[12.958802, "o", ""]
[12.993802, "o", "d"]
[13.028802, "o", "o"]
[13.063802, "o", "c"]
[13.098802, "o", "k"]
[13.133802, "o", "e"]
[13.168802, "o", "r"]
[13.203802, "o", " "]
[13.238802, "o", "r"]
[13.273802, "o", "u"]
[13.308802, "o", "n"]
[13.343802, "o", " "]
[13.378802, "o", "-"]
[13.413802, "o", "-"]
[13.448802, "o", "d"]
[13.483802, "o", "e"]
[13.518802, "o", "t"]
[13.553802, "o", "a"]
[13.588802, "o", "c"]
[13.623802, "o", "h"]
[13.658802, "o", " "]
[13.693802, "o", "-"]
[13.728802, "o", "-"]
[13.763802, "o", "n"]
[13.798802, "o", "a"]
[13.833802, "o", "m"]
[13.868802, "o", "e"]
[13.903802, "o", " "]
[13.938802, "o", "w"]
[13.973802, "o", "e"]
[14.008802, "o", "b"]
[14.043802, "o", " "]
[14.078802, "o", "-"]
[14.113802, "o", "-"]
[14.148802, "o", "p"]
[14.183802, "o", "u"]
[14.218802, "o", "b"]
[14.253802, "o", "l"]
[14.288802, "o", "i"]
[14.323802, "o", "s"]
[14.358802, "o", "h"]
[14.393802, "o", " "]
[14.428802, "o", "8"]
[14.463802, "o", "0"]
[14.498802, "o", "8"]
[14.533802, "o", "0"]
[14.568802, "o", ":"]
[14.603802, "o", "8"]
[14.638802, "o", "0"]
[14.673802, "o", " "]
[14.708802, "o", "n"]
[14.743802, "o", "g"]
[14.778802, "o", "i"]
[14.813802, "o", "n"]
[14.848802, "o", "x"]
[14.883802, "o", ":"]
[14.918802, "o", "a"]
[14.953802, "o", "l"]
[14.988802, "o", "p"]
[15.023802, "o", "i"]
[15.058802, "o", "n"]
[15.093802, "o", "e"]
[15.128802, "o", "\r\n"]
[15.131429, "o", "\u001b]3008;start=e9896e4b-9153-4d0f-9036-87dcf1fc25b5;type=command;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\"]
[15.150233, "o", "Unable to find image 'nginx:alpine' locally\r\n"]
[15.941977, "o", "alpine: Pulling from library/nginx\r\n"]
[16.316446, "o", "\r\n\u001b[1A"]
[16.316513, "o", "\u001b[2K\rc4f3d97811f6: Pulling fs layer \r\u001b[1B\r\n\u001b[1A\u001b[2K\r4c8c172c6586: Pulling fs layer \r\u001b[1B\r\n\u001b[1A\u001b[2K\r1dc588c89da1: Pulling fs layer \r\u001b[1B\r\n\u001b[1A\u001b[2K\r04c3905a997c: Pulling fs layer \r"]
[16.316611, "o", "\u001b[1B\r\n\u001b[1A\u001b[2K\r881fc932939e: Pulling fs layer \r\u001b[1B\r\n\u001b[1A\u001b[2K\r77a3bfea78f5: Pulling fs layer \r"]
[16.316651, "o", "\u001b[1B\r\n"]
[16.31674, "o", "\u001b[1A\u001b[2K\r7cb374baf968: Pulling fs layer \r\u001b[1B\r\n\u001b[1A\u001b[2K\r61d8f4c85a74: Pulling fs layer \r\u001b[1B"]
[16.473039, "o", "\u001b[6A\u001b[2K\r1dc588c89da1: Downloading [==================================================>] 1.211kB/1.211kB\r\u001b[6B"]
[16.574533, "o", "\u001b[8A\u001b[2K\rc4f3d97811f6: Downloading [=======> ] 3.146MB/20.54MB\r\u001b[8B"]
[16.574952, "o", "\u001b[6A\u001b[2K\r1dc588c89da1: Download complete \r\u001b[6B"]
[16.673185, "o", "\u001b[8A\u001b[2K\rc4f3d97811f6: Downloading [===================================> ] 14.68MB/20.54MB\r\u001b[8B"]
[16.673215, "o", "\u001b[7A\u001b[2K\r4c8c172c6586: Download complete \r\u001b[7B"]
[16.772966, "o", "\u001b[8A\u001b[2K\rc4f3d97811f6: Downloading [==================================================>] 20.54MB/20.54MB\r\u001b[8B"]
[16.773287, "o", "\u001b[5A\u001b[2K\r04c3905a997c: Download complete \r\u001b[5B"]
[16.873596, "o", "\u001b[4A\u001b[2K\r881fc932939e: Downloading [==================================================>] 3.854MB/3.854MB\r\u001b[4B\u001b[3A\u001b[2K\r77a3bfea78f5: Download complete \r\u001b[3B"]
[16.874183, "o", "\u001b[8A\u001b[2K\rc4f3d97811f6: Download complete \r\u001b[8B"]
[16.97324, "o", "\u001b[4A\u001b[2K\r881fc932939e: Download complete \r\u001b[4B"]
[16.97344, "o", "\u001b[2A\u001b[2K\r7cb374baf968: Download complete \r\u001b[2B"]
[16.975038, "o", "\u001b[1A\u001b[2K\r61d8f4c85a74: Download complete \r\u001b[1B"]
[16.975102, "o", "\u001b[4A\u001b[2K\r881fc932939e: Extracting 1 s\r\u001b[4B"]
[17.077256, "o", "\u001b[4A\u001b[2K\r881fc932939e: Extracting 1 s\r\u001b[4B"]
[17.17391, "o", "\r\n\u001b[1A\u001b[2K\r79979b969278: Download complete \r\u001b[1B\r\n\u001b[1A\u001b[2K\r33247e384332: Download complete \r\u001b[1B"]
[17.174943, "o", "\u001b[5A\u001b[2K\r77a3bfea78f5: Extracting 1 s\r\u001b[5B"]
[17.175715, "o", "\u001b[6A\u001b[2K\r881fc932939e: Pull complete \r\u001b[6B"]
[17.273773, "o", "\u001b[5A\u001b[2K\r77a3bfea78f5: Extracting 1 s\r\u001b[5B"]
[17.373839, "o", "\u001b[5A\u001b[2K\r77a3bfea78f5: Extracting 1 s\r\u001b[5B"]
[17.473053, "o", "\u001b[7A\u001b[2K\r04c3905a997c: Pull complete \r\u001b[7B"]
[17.473286, "o", "\u001b[5A\u001b[2K\r77a3bfea78f5: Pull complete \r\u001b[5B"]
[17.573198, "o", "\u001b[9A\u001b[2K\r4c8c172c6586: "]
[17.573314, "o", "Extracting 1 s\r\u001b[9B"]
[17.576072, "o", "\u001b[4A\u001b[2K\r7cb374baf968: Pull complete \r\u001b[4B"]
[17.673476, "o", "\u001b[9A\u001b[2K\r4c8c172c6586: Pull complete \r\u001b[9B"]
[17.774558, "o", "\u001b[8A\u001b[2K\r1dc588c89da1: Pull complete \r\u001b[8B"]
[17.775077, "o", "\u001b[3A\u001b[2K\r61d8f4c85a74: Pull complete \r\u001b[3B"]
[17.872955, "o", "\u001b[10A\u001b[2K\rc4f3d97811f6: Extracting 1 s\r\u001b[10B"]
[17.972908, "o", "\u001b[10A\u001b[2K\rc4f3d97811f6: Extracting 1 s\r\u001b[10B"]
[18.073757, "o", "\u001b[10A\u001b[2K\rc4f3d97811f6: Extracting 1 s\r\u001b[10B"]
[18.173261, "o", "\u001b[10A\u001b[2K\r"]
[18.173287, "o", "c4f3d97811f6: Extracting 1 s\r\u001b[10B"]
[18.275577, "o", "\u001b[10A\u001b[2K\rc4f3d97811f6: Extracting 1 s\r\u001b[10B"]
[18.374885, "o", "\u001b[10A\u001b[2K\rc4f3d97811f6: Extracting 1 s\r\u001b[10B"]
[18.5277, "o", "\u001b[10A\u001b[2K\rc4f3d97811f6: Pull complete \r\u001b[10BDigest: sha256:fb4658584bd9a916ffb6f6e365f97c25cfdb2923801f551ea08356e695f14ff7\r\nStatus: Downloaded newer image for nginx:alpine\r\n"]
[18.731387, "o", "ab8f9a702c7bffc0c25dee09bb104432756d3d5a6ee427d223346d4756dab06f\r\n"]
[19.004927, "o", "\u001b]3008;end=e9896e4b-9153-4d0f-9036-87dcf1fc25b5;exit=success\u001b\\"]
[19.005922, "o", "\u001b]3008;start=67e73a71-aa8c-4553-9b2c-f6b84ded2924;type=shell;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\"]
[19.006125, "o", "\u001b[1;32mroot@docker\u001b[0m:~# "]
[19.006126, "o", ""]
[21.041126, "o", "c"]
[21.076126, "o", "l"]
[21.111126, "o", "e"]
[21.146126, "o", "a"]
[21.181126, "o", "r"]
[21.216126, "o", "\r\n"]
[21.21896, "o", "\u001b]3008;start=da689da0-870f-4a43-9823-65b02972ad2f;type=command;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\"]
[21.219711, "o", "\u001b[H\u001b[2J\u001b[3J"]
[21.219934, "o", "\u001b]3008;end=da689da0-870f-4a43-9823-65b02972ad2f;exit=success\u001b\\"]
[21.220987, "o", "\u001b]3008;start=67e73a71-aa8c-4553-9b2c-f6b84ded2924;type=shell;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\"]
[21.221082, "o", "\u001b[1;32mroot@docker\u001b[0m:~# "]
[21.221084, "o", ""]
[21.256084, "o", "d"]
[21.291084, "o", "o"]
[21.326084, "o", "c"]
[21.361084, "o", "k"]
[21.396084, "o", "e"]
[21.431084, "o", "r"]
[21.466084, "o", " "]
[21.501084, "o", "i"]
[21.536084, "o", "m"]
[21.571084, "o", "a"]
[21.606084, "o", "g"]
[21.641084, "o", "e"]
[21.676084, "o", " "]
[21.711084, "o", "l"]
[21.746084, "o", "s"]
[21.781084, "o", "\r\n"]
[21.783106, "o", "\u001b]3008;start=b5588bea-23dc-4b85-b8b6-2cc3e5b5be09;type=command;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\"]
[21.84173, "o", " \u001b[1m\u001b[106m\u001b[30mi\u001b[0m\u001b[0m \u001b[96mInfo → \u001b[0m\u001b[0m \u001b[38;5;0m\u001b[48;5;14m U \u001b[0m In Use\r\n\u001b[39m\u001b[1mIMAGE\u001b[0m \u001b[39m\u001b[1mID\u001b[0m \u001b[39m\u001b[1mDISK USAGE\u001b[0m \u001b[39m\u001b[1mCONTENT SIZE\u001b[0m \u001b[39m\u001b[1mEXTRA\u001b[0m\r\n\u001b[34m\u001b[1mhello-world:latest\u001b[0m \u001b[39m1e4c05b897a7\u001b[0m \u001b[39m21.8kB\u001b[0m \u001b[39m9.49kB\u001b[0m "]
[21.84178, "o", " \r\n\u001b[34m\u001b[1mnginx:alpine\u001b[0m \u001b[39mfb4658584bd9\u001b[0m \u001b[39m95.7MB\u001b[0m"]
[21.841786, "o", " "]
[21.841826, "o", " \u001b[39m27.2MB\u001b[0m \u001b[38;5;0m\u001b[48;5;14m U \u001b[0m \r\n"]
[21.843327, "o", "\u001b]3008;end=b5588bea-23dc-4b85-b8b6-2cc3e5b5be09;exit=success\u001b\\"]
[21.844612, "o", "\u001b]3008;start=67e73a71-aa8c-4553-9b2c-f6b84ded2924;type=shell;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\"]
[21.844725, "o", "\u001b[1;32mroot@docker\u001b[0m:~# "]
[21.844726, "o", ""]
[21.879726, "o", "d"]
[21.914726, "o", "o"]
[21.949726, "o", "c"]
[21.984726, "o", "k"]
[22.019726, "o", "e"]
[22.054726, "o", "r"]
[22.089726, "o", " "]
[22.124726, "o", "p"]
[22.159726, "o", "s"]
[22.194726, "o", "\r\n"]
[22.196199, "o", "\u001b]3008;start=d666be6e-1560-4e8b-97a3-3df5b8c6a43a;type=command;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\"]
[22.344064, "o", "CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES\r\nab8f9a702c7b nginx:alpine \"/docker-entrypoint.…\" 1 second ago Up Less than a second 0.0.0.0:8080->80/tcp, [::]:8080->80/tcp web"]
[22.344275, "o", "\r\n"]
[22.347778, "o", "\u001b]3008;end=d666be6e-1560-4e8b-97a3-3df5b8c6a43a;exit=success\u001b\\"]
[22.349015, "o", "\u001b]3008;start=67e73a71-aa8c-4553-9b2c-f6b84ded2924;type=shell;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\\u001b[1;32mroot@docker\u001b[0m:~# "]
[22.349017, "o", ""]
[25.384017, "o", "d"]
[25.419017, "o", "o"]
[25.454017, "o", "c"]
[25.489017, "o", "k"]
[25.524017, "o", "e"]
[25.559017, "o", "r"]
[25.594017, "o", " "]
[25.629017, "o", "t"]
[25.664017, "o", "o"]
[25.699017, "o", "p"]
[25.734017, "o", " "]
[25.769017, "o", "w"]
[25.804017, "o", "e"]
[25.839017, "o", "b"]
[25.874017, "o", " "]
[25.909017, "o", "-"]
[25.944017, "o", "-"]
[25.979017, "o", "f"]
[26.014017, "o", "o"]
[26.049017, "o", "r"]
[26.084017, "o", "m"]
[26.119017, "o", "a"]
[26.154017, "o", "t"]
[26.189017, "o", " "]
[26.224017, "o", "p"]
[26.259017, "o", "i"]
[26.294017, "o", "d"]
[26.329017, "o", ","]
[26.364017, "o", "u"]
[26.399017, "o", "s"]
[26.434017, "o", "e"]
[26.469017, "o", "r"]
[26.504017, "o", ","]
[26.539017, "o", "a"]
[26.574017, "o", "r"]
[26.609017, "o", "g"]
[26.644017, "o", "s"]
[26.679017, "o", "\r\n"]
[26.683916, "o", "\u001b]3008;start=af83704b-8810-40b6-9fcd-82d7b305ce33;type=command;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\"]
[26.732146, "o", "PID "]
[26.732493, "o", " USER COMMAND\r\n4972 root nginx: master process nginx -g daemon off;\r\n5069 uuidd nginx: worker process\r\n5070 uuidd nginx: worker process\r\n5071 uuidd nginx: worker process\r\n5072 uuidd nginx: worker process\r\n5073 uuidd nginx: worker process\r\n5074 uuidd nginx: worker process\r\n5075 uuidd nginx: worker process\r\n5076 uuidd nginx: worker process\r\n"]
[26.737186, "o", "\u001b]3008;end=af83704b-8810-40b6-9fcd-82d7b305ce33;exit=success\u001b\\"]
[26.742742, "o", "\u001b]3008;start=67e73a71-aa8c-4553-9b2c-f6b84ded2924;type=shell;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\"]
[26.742874, "o", "\u001b[1;32mroot@docker\u001b[0m:~# "]
[26.742874, "o", ""]
[26.777874, "o", "d"]
[26.812874, "o", "o"]
[26.847874, "o", "c"]
[26.882874, "o", "k"]
[26.917874, "o", "e"]
[26.952874, "o", "r"]
[26.987874, "o", " "]
[27.022874, "o", "s"]
[27.057874, "o", "t"]
[27.092874, "o", "a"]
[27.127874, "o", "t"]
[27.162874, "o", "s"]
[27.197874, "o", " "]
[27.232874, "o", "-"]
[27.267874, "o", "-"]
[27.302874, "o", "n"]
[27.337874, "o", "o"]
[27.372874, "o", "-"]
[27.407874, "o", "s"]
[27.442874, "o", "t"]
[27.477874, "o", "r"]
[27.512874, "o", "e"]
[27.547874, "o", "a"]
[27.582874, "o", "m"]
[27.617874, "o", "\r\n"]
[27.620797, "o", "\u001b]3008;start=9c1b1896-28e7-4939-97fc-b22e7276d14c;type=command;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\"]
[28.684325, "o", "CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS\r\nab8f9a702c7b web 0.00% 7.492MiB / 30.26GiB 0.02% 486B / 84B 0B / 0B 9\r\n"]
[28.685855, "o", "\u001b]3008;end=9c1b1896-28e7-4939-97fc-b22e7276d14c;exit=success\u001b\\"]
[28.686694, "o", "\u001b]3008;start=67e73a71-aa8c-4553-9b2c-f6b84ded2924;type=shell;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\"]
[28.686793, "o", "\u001b[1;32mroot@docker\u001b[0m:~# "]
[28.686794, "o", ""]
[31.721794, "o", "c"]
[31.756794, "o", "u"]
[31.791794, "o", "r"]
[31.826794, "o", "l"]
[31.861794, "o", " "]
[31.896794, "o", "-"]
[31.931794, "o", "-"]
[31.966794, "o", "s"]
[32.001794, "o", "i"]
[32.036794, "o", "l"]
[32.071794, "o", "e"]
[32.106794, "o", "n"]
[32.141794, "o", "t"]
[32.176794, "o", " "]
[32.211794, "o", "l"]
[32.246794, "o", "o"]
[32.281794, "o", "c"]
[32.316794, "o", "a"]
[32.351794, "o", "l"]
[32.386794, "o", "h"]
[32.421794, "o", "o"]
[32.456794, "o", "s"]
[32.491794, "o", "t"]
[32.526794, "o", ":"]
[32.561794, "o", "8"]
[32.596794, "o", "0"]
[32.631794, "o", "8"]
[32.666794, "o", "0"]
[32.701794, "o", " "]
[32.736794, "o", "|"]
[32.771794, "o", " "]
[32.806794, "o", "g"]
[32.841794, "o", "r"]
[32.876794, "o", "e"]
[32.911794, "o", "p"]
[32.946794, "o", " "]
[32.981794, "o", "t"]
[33.016794, "o", "i"]
[33.051794, "o", "t"]
[33.086794, "o", "l"]
[33.121794, "o", "e"]
[33.156794, "o", "\r\n"]
[33.158312, "o", "\u001b]3008;start=a50685b3-5a5e-400b-a458-eb5e7c2a9c9c;type=command;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\"]
[33.16577, "o", "<\u001b[01;31m\u001b[Ktitle\u001b[m\u001b[K>Welcome to nginx!</\u001b[01;31m\u001b[Ktitle\u001b[m\u001b[K>\r\n"]
[33.174303, "o", "\u001b]3008;end=a50685b3-5a5e-400b-a458-eb5e7c2a9c9c;exit=success\u001b\\"]
[33.185051, "o", "\u001b]3008;start=67e73a71-aa8c-4553-9b2c-f6b84ded2924;type=shell;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\"]
[33.185188, "o", "\u001b[1;32mroot@docker\u001b[0m:~# "]
[33.185189, "o", ""]
[33.220189, "o", "e"]
[33.255189, "o", "x"]
[33.290189, "o", "i"]
[33.325189, "o", "t"]
[33.360189, "o", "\r\n"]
[33.36201, "o", "\u001b]3008;start=ed6629cc-3a7a-40c1-8634-070845bf7603;type=command;machineid=fee09faa07ad4b838265ae23070d7d35;user=root;hostname=docker;bootid=d0c47617-5ddf-4367-869c-1347fa57e1bf;pid=4879;cwd=/root\u001b\\logout\r\n"]
[33.362538, "o", "\u001b]3008;end=f47dd143b8174c44aef0e85845074248\u001b\\"]
[33.375937, "o", "\u001b[1;34mlxd\u001b[0m > "]
[33.375937, "o", ""]
[38.410937, "o", "\r\n"]
Binary file not shown.

Before

Width:  |  Height:  |  Size: 378 KiB

After

Width:  |  Height:  |  Size: 389 KiB

+3 -3
View File
@@ -29,16 +29,16 @@ instructions:
- !Marker Shell
- !Command {command: "# Or open a shell in the instance and use Docker as on any machine"}
- !Command {command: "lxc shell docker"}
- !Command {command: "docker run -d --name web -p 8080:80 nginx:alpine"}
- !Command {command: "docker run --detach --name web --publish 8080:80 nginx:alpine"}
- !Wait 2s
- !Command {command: "clear"}
- !Command {command: "docker image ls"}
- !Command {command: "docker ps"}
- !Wait 3s
- !Command {command: "docker top web -o pid,user,args"}
- !Command {command: "docker top web --format pid,user,args"}
- !Command {command: "docker stats --no-stream"}
- !Wait 3s
- !Command {command: "curl -s localhost:8080 | grep title"}
- !Command {command: "curl --silent localhost:8080 | grep title"}
- !Command {command: "exit"}
- !Wait 5s
- !Command {command: "demo_cleanup", hidden: true}