tree: e58b1b9c66601982aecb03d030db708da243f538 [path history] [tgz]
  1. Dockerfile
  2. README.md
dev-support/atlas-docker/README.md

atlas_docker

Overview

The Dockerfile in this folder can be used to build a Docker image running the latest Atlas master branch in standalone mode. It does this by setting up necessary dependencies, checking out the master branch of Atlas from GitHub, and then building Atlas. By default, this image will start the Atlas on port 21000.

Usage

  1. Ensure that you have a recent version of Docker installed from docker.io.
  2. Set this folder as your working directory.
  3. Type docker build -t atlas_docker . to build a Docker image called atlas_docker. This may take 20 minutes or more the first time you run the command since it will create a Maven repository inside the image as well as checkout the master branch of Atlas. Note that by default unit tests are skipped, to run unit tests within the image remove the ‘-DskipTests’ in the Dockerfile
  4. When this completes successfully, you can run docker run -it -p 21000:21000 atlas_docker to access an Atlas server running inside of a container created from the atlas_docker image. Alternatively, you can type docker run -it atlas_docker bash to start a container without a running Atlas. Within this environment, Atlas is built in /root/atlas-bin.
  5. When you run command docker run -it -p 21000:21000 atlas_docker successfully, you can access Atlas UI from a browser at http://localhost:21000.