Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

The JS7 - Controller Installation for Docker Containers article explains start-up of a Controller container using the Docker® run command.

...

  • Use of volumes: There are a number of ways of mounting or binding volumes into a container.
    • One strategy is to mount a Docker® volume which is managed by Docker®, typically in /var/lib/docker/volumes.
    • Another strategy is to map Docker® volumes to the local file system. This requires letting Docker® Compose know that the volume is locally managed and is in focus of the above example.
  • Use of user accounts: see JS7 - Running Containers for User Accounts.

Environment Variables used with the Examples

...

Code Block
languagebash
titleExample how to start up Containers
docker-compose up -d

# check containers
$ docker-compose ps
NAME                            COMMAND                  SERVICE                  STATUS              PORTS
js74-js7-controller-primary-1   "sh /usr/local/bin/e…"   js7-controller-primary   running             

Initial Operation

See JS7 - Controller Installation for Docker Containers, section: Initial Operation.