exposes the specified ports: configuration (2471) http (80); format is 'hostPort:containerPort'
-v plcgitcomplete-data:/etc/Tani
creates or resuses a volume named plcgitcomplete-data to store the PlcGit Complete configuration and license data
-v plcgitcomplete-repo:/var/lib/plcgit
creates or resuses a volume named plcgitcomplete-repo
-d
run in detached mode
--rm
remove the container after exiting
plcgitcomplete
the image to use
Notes:
The permanent data will be stored in volumes on the host computer. To find them, run e.g.: docker volume inspect plcgitcomplete-data
To change the location of the permanent data, specify a different name or replace the volume parameter -v plcgitcomplete-data:/etc/Tani with a generic mount: --mount type=bind,src=/dir/on/host,dst=/etc/Tani
Stop the running container
run: docker stop plcgitcomplete1
parameters:
plcgitcomplete1
the instance to stop
Build the base image. This this contains all required dependencies.
run: docker build -t plcgitagent/base base
parameters:
-t plcgitagent/base
gives a name to the new image
base
the directory where the Dockerfile is located
Notes:
This requires internet access, as it downloads a docker base image.
The name is referenced in the Dockerfile of the second step.
Optional: archive this base image (e.g. for reproducible build or transfer into offline environment).
to export, run: docker save -o plcgitagent-base.img plcgitagent/base
parameters:
-o plcgitagent-base.img
name of the image file
plcgitagent/base
the image to export
to import (on same or other machine), run docker load -i plcgitagent-base.img
parameters:
-i plcgitagent-base.img
name of the image file
Build the final image. Running this will start the PlcGit Agent software.
run: docker build -t plcgitagent .
parameters:
-t plcgitagent
gives a name to the new image
.
the directory where the Dockerfile is located
Notes:
This does NOT require internet access, as it uses the base image generated in step 1.
exposes the specified ports: configuration (2471); format is 'hostPort:containerPort'
-v plcgitagent-data:/etc/Tani
creates or resuses a volume named plcgitagent-data to store the PlcGit Agent configuration and license data
-v plcgitagent-repo:/var/lib/plcgit
creates or resuses a volume named plcgitagent-repo
-d
run in detached mode
--rm
remove the container after exiting
plcgitagent
the image to use
Notes:
The permanent data will be stored in volumes on the host computer. To find them, run e.g.: docker volume inspect plcgitagent-data
To change the location of the permanent data, specify a different name or replace the volume parameter -v plcgitagent-data:/etc/Tani with a generic mount: --mount type=bind,src=/dir/on/host,dst=/etc/Tani
Stop the running container
run: docker stop plcgitagent1
parameters:
plcgitagent1
the instance to stop
Build the base image. This this contains all required dependencies.
run: docker build -t plcgitconf/base base
parameters:
-t plcgitconf/base
gives a name to the new image
base
the directory where the Dockerfile is located
Notes:
This requires internet access, as it downloads a docker base image.
The name is referenced in the Dockerfile of the second step.
Optional: archive this base image (e.g. for reproducible build or transfer into offline environment).
to export, run: docker save -o plcgitconf-base.img plcgitconf/base
parameters:
-o plcgitconf-base.img
name of the image file
plcgitconf/base
the image to export
to import (on same or other machine), run docker load -i plcgitconf-base.img
parameters:
-i plcgitconf-base.img
name of the image file
Build the final image. Running this will start the PlcGit Conf software.
run: docker build -t plcgitconf .
parameters:
-t plcgitconf
gives a name to the new image
.
the directory where the Dockerfile is located
Notes:
This does NOT require internet access, as it uses the base image generated in step 1.
exposes the specified ports: configuration (2471) http (80); format is 'hostPort:containerPort'
-v plcgitconf-data:/etc/Tani
creates or resuses a volume named plcgitconf-data to store the PlcGit Conf configuration and license data
-d
run in detached mode
--rm
remove the container after exiting
plcgitconf
the image to use
Notes:
The permanent data will be stored in volumes on the host computer. To find them, run e.g.: docker volume inspect plcgitconf-data
To change the location of the permanent data, specify a different name or replace the volume parameter -v plcgitconf-data:/etc/Tani with a generic mount: --mount type=bind,src=/dir/on/host,dst=/etc/Tani