Jump to content

RUTC41 Docker

From Teltonika Networks Wiki
Main Page > RUTC Routers > RUTC41 > RUTC41 Manual > RUTC41 WebUI > RUTC41 Services section > RUTC41 Docker

The information in this page is updated in accordance with firmware version RUTC_R_00.07.18.3.

Summary

Docker is a platform designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs-such as libraries and other dependencies-and ship it all out as one package. The RutOS Docker UI Manager simplifies the management of Docker images and containers.

Note: Docker is additional software that can be installed from the System → Package Manager page.

Containers

The Containers tab is for creating and managing containers.

To create a new container press `Add` button.

Field Value Description
Name string; default: none Name of the container
Image list; default: none The name (or reference) of the image to use when creating the container, or which was used when the container was created.
Add docker image -(interactive button) Redirects to Images tab.
Interactive off | on; default: off Keep STDIN open even if not attached.
Use TTY off | on; default: off Attach standard streams to a TTY, including STDIN if it is not closed.
Privileged off | on; default: off Whether the container should run in privileged mode.
Restart policy Never | Always | Unless stopped | On failure; default: Never An ever increasing delay (double the previous delay, starting at 100ms) is added before each restart to prevent server flooding. By default, the server does not restart.
Network mode Bridge | Host | None; default: Bridge Sets the networking mode for the run commands during build.
Environment variables string; default: none A list of environment variables to set inside the container.
Exposed ports integer [1..65535] and protocol: TCP | UDP | SCTP Port bindings for the container in the format: host_port:container_port/protocol (e.g., 8080:80/tcp).
Command string; default: none Command used to start the container.

Images

The Images tab is for managing, pulling or uploading the images.

To create a new image press `Add` button.

Field Value Description
Add image from Docker Hub server | Other server | Local device; default: Docker Hub server Select the source from which to add the image.
Docker Hub image path string; default: none Name of the image to pull. The name may include a tag or digest. This parameter may only be used when pulling an image. The pull is cancelled if the HTTP connection is closed.
Server image path url; default: none Source to import. The value may be a URL from which the image can be retrieved or use '-' to read the image from the request body.
Server repository url; default: none Repository name given to an image when it is imported. The repo may include a tag.
Commit message string; default: none Set commit message for imported image.
Dockerfile Instructions string; default: none Apply dockerfile instructions to the image that is created (e.g., ENV DEBUG=true).
Image file -(interactive button) Select the image file to upload.

General Settings

The General Settings tab:

Field Value Description
Default bridge ipv4; default: none Specify the default bridge IP address for Docker containers. This is used for container networking.
Log level Debug | Ino | Warn | Error | Fatal ; default: Warn Set the log level for the Docker daemon. This determines the verbosity of logs.

The Authentication credentials tab:

Field Value Description
Authentication method None | Username | Email; default: None Specify the default bridge IP address for Docker containers. This is used for container networking.
Username string; default: none Enter the username for your Docker account.
Password string; default: none Enter the password or Personal Access Token (PAT) for your Docker account.
Server address url; default: https://registry-1.docker.io/v2/ Specify the Docker registry server address. This is required for authentication with private registries. If not specified 'https://registry-1.docker.io/v2/' will be used.
Check credentials -(interactive button) Checks docker account credentials.
Email email address; default: none Enter the email address associated with your Docker account.