Use Docker in Wazaterm

You may be sharing Docker images or Docker composites with your team for development.
If that’s the case, don’t worry, you can use Docker on Wazaterm.

Installation

Follow the Docker documentation to install.

$ sudo apt-get update
$ sudo apt-get install \?
    
    curl
    gnupg
    lsb-release
$ curl -fsSL <a href="https://download.docker.com/linux/ubuntu/gpg">https://download.docker.com/linux/ubuntu/gpg</a> | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
$ echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
 sudo apt-get update
 $ sudo apt-get install docker-ce docker-ce-cli containerd.io

Check

Check if it works with the Hello World image.

$ docker run hello- world                                                                                
The image 'hello-world:latest' is not found locally.
Pull it from library/hello-world.
2db29710123e: Pull completed 
Digest: sha256:2498fce14358aa50ead0cc6c19990fc6ff866ce72aeb5546e1d59caac3d0d60f
Downloaded a new image with status hello- world:latest.

Hello from Docker!
This message indicates that your installation is working properly.

In order to generate this message, Docker takes the following steps: 1.
 The Docker client has contacted the Docker daemon. 2.
 The Docker daemon retrieved the "hello-world" image from Docker Hub. 2.
    (amd64) 3. 3.
 The Docker daemon creates a new container from the image and generates the output that is currently being read by the container. 3.
    The Docker daemon creates a new container from that image and an executable file that generates the output currently being read by that container. 4. 4.
 The Docker daemon streams its output to the Docker client, which sends it 4. 4.
    to the terminal.

To try something more ambitious, you can run the Ubuntu container as follows
 You can run it with docker run -it ubuntu bash.

Use your free Docker ID to share images, automate workflows, and more.
https://hub.docker.com/

For more examples and ideas, please visit
https://docs.docker.com/get-started