Linux Labs

Containers: Docker and compose / Stage 1 of 11

Image, container and process

Not running Starting usually ~20 s
Leave the lesson

Step 5 of 6 · on a machine · 4 min

Experiment: a container from alpine

The same technique with another image: alpine has no server, only a shell.

Checks need a box container from the alpine image that runs until someone stops it: people will get into it with docker exec. Start such a container and mark it ready by creating the file /root/ready inside it.

Exercise · do it

A container for checks

Start a box container from the alpine image that runs until someone stops it, and create the file /root/ready inside it.

Sign in and start The machine is available after signing in

Goals · 0 of 2

  • Start a box container that does not stop not done yet
  • Mark it ready with a file inside box not done yet

Step goals

0 of 2
  • Start a box container that does not stop — not done yet
  • Mark it ready with a file inside box — not done yet
Ubuntu 24.04

Step goals

0 of 2
  • Start a box container that does not stop — not done yet
  • Mark it ready with a file inside box — not done yet
Loading…