Option Functions For Application Programs; Container Function (Docker) - Hitachi CE50-10 Instruction Manual

Table of Contents

Advertisement

F. Option Functions for Application Programs
This appendix describes the following functions:

• Container function (Docker)

• OPC-UA client function
F.1 Container function (Docker)
By using Docker, you can deploy application programs, libraries, and prerequisite programs as containers in the
operation environment (CE50-10). A container is provided as a single image file. By transferring an image file from
the development environment to the operation environment, you can run the application program in the same
environment as the development environment. This simplifies the work required to put new or updated application
programs into use.
Figure F‒1: Deploying image files from the development environment
To use the container function, you need to create a partition in the operation environment, mount the partition as the
area for use by Docker, and then load the image file for the container.
(1) Initializing Docker
To use Docker, you need to mount the Docker partition in the operation environment.
For details about how to create partitions, see (2) Creating partitions. To start an Ubuntu 18.04.3 image, at least 150
MB free space is required for a partition. More free space is required according to the types of applications and
containers to be deployed on Docker.
Set up the created partition so that it will be mounted in /var/lib/docker when the OS starts.
To temporarily use Docker, run the following command to mount the created partition before starting Docker.
$ sudo mount /dev/sda9 /var/lib/docker
(2) Starting and stopping Docker
By default, Docker is stopped when the OS starts. The following describes how to start and stop Docker and how to
start Docker when the OS starts.
(a) Starting Docker
Run the following command to start Docker.
F. Option Functions for Application Programs
167

Advertisement

Table of Contents
loading

Table of Contents