Appendix A - Installing Linux and Docker

To install Harmony Connect Connector, you need to have Linux and DockerClosed Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers. on your computer.

Follow the steps below to install them.

Installations

Useful Docker Commands

Before you can use the container and image commands, you have to understand that a Docker image is not the same as a Docker container.

There are many internet resources that explain the difference, so you can refer to them, for example, https://phoenixnap.com/kb/docker-image-vs-container.

Then define if you want to work with your container or with the image.

Container Commands

Usage: docker container<my_command>

Command

Description

create

Create a container from an image

start

Start an existing container

run

Create a new container and start it

ls

List running containers

inspect

See information about a container

logs

Print logs

stop

Gracefully stop running container

kill

Stop immediately the main process in container

rm

Delete a stopped container

Image Commands

Usage: docker image <my_command>

Command

Description

create

Create a container from an image

build

Build the image

push

Push the image to a remote registry

ls

List images

history

See intermediate image info

inspect

See information about the image, including the layers

rm

Delete the image

Miscellaneous Commands

Command

Description

docker version

List info about your Docker client and server versions

docker login

Log into a Docker registry

docker system prune

Delete all unused containers, unused networks, and dangling (unrelated) images