Docker Installation
Instructions to setup environment using SoraEngine's docker container.
Docker Desktop is a one-click-install application for your Mac, Linux, or Windows environment that lets you build, share, and run containerized applications and microservices.
It provides a straightforward GUI (Graphical User Interface) that lets you manage your containers, applications, and images directly from your machine.
Docker Desktop reduces the time spent on complex setups so you can focus on writing code. It takes care of port mappings, file system concerns, and other default settings, and is regularly updated with bug fixes and security updates.
Install using following links-
Download the installer using the download button at the top of the page, or from the release notes.
Double-click
Docker Desktop Installer.exe
to run the installer. By default, Docker Desktop is installed atC:\Program Files\Docker\Docker
.When prompted, ensure the Use WSL 2 instead of Hyper-V option on the Configuration page is selected or not depending on your choice of backend.
If your system only supports one of the two options, you won't be able to select which backend to use.
Follow the instructions on the installation wizard to authorize the installer and proceed with the install.
When the installation is successful, select Close to complete the installation process.
Install Docker Desktop on Linux
Recommended approach to install Docker Desktop on Ubuntu:
Set up Docker's package repository. See step one of Install using the
apt
repository.Download the latest DEB package. For checksums, see the Release notes.
Install the package with apt as follows:
Note
At the end of the installation process,
apt
displays an error due to installing a downloaded package. You can ignore this error message.By default, Docker Desktop is installed at
/opt/docker-desktop
.
There are a few post-install configuration steps done through the post-install script contained in the deb package.
The post-install script:
Sets the capability on the Docker Desktop binary to map privileged ports and set resource limits.
Adds a DNS name for Kubernetes to
/etc/hosts
.Creates a symlink from
/usr/local/bin/com.docker.cli
to/usr/bin/docker
. This is because the classic Docker CLI is installed at/usr/bin/docker
. The Docker Desktop installer also installs a Docker CLI binary that includes cloud-integration capabilities and is essentially a wrapper for the Compose CLI, at/usr/local/bin/com.docker.cli
. The symlink ensures that the wrapper can access the classic Docker CLI.
To pull a Docker image from an Amazon ECR repository
Authenticate your Docker client to the Amazon ECR registry that you intend to pull your image from. Authentication tokens must be obtained for each registry used, and the tokens are valid for 12 hours. For more information, see Private registry authentication in Amazon ECR.
(Optional) Identify the image to pull.
You can list the repositories in a registry with the aws ecr describe-repositories command:
The example registry above has a repository called sorachain/v1sdk.
You can describe the images within a repository with the aws ecr describe-images command:
The example repository above has an image tagged as
latest
and2016.09
, with the image digest sha256:7a395b46e8ce026eee8cd5faf2574177b0136779f0b0b8463b390df793bc8a70.
Pull the image using the docker pull command. The image name format should be
registry/repository[:tag]
to pull by tag, orregistry/repository[@digest]
to pull by digest.Important
If you receive a
repository-url not found: does not exist or no pull access
error, you might need to authenticate your Docker client with Amazon ECR. For more information, see Private registry authentication in Amazon ECR.
Last updated
Was this helpful?