Runtime service in a Docker container
Operating a Docker Runtime provides several advantages, such as portability,
isolation, scalability, efficiency, consistency, and simplified management.
Docker Runtime is a multi-container application orchestrated by Docker Compose.
A directory named
RemoteAccess_Compose
includes all the necessary Compose files for this project:
compose.yml
: This file defines the services associated with the two Docker images and it is necessary for all deployments.compose.rdp.yml
: An optional Compose file that enables the Remote Desktop (RDP) for the Runtime.compose.vpn.yml
: An optional Compose file that enables the VPN connection for the Runtime..env
: This file defines the configurable environment variables used by the Compose files.
Furthermore, a .tar.gz archive contains two essential Docker images that you must upload to your host:
- Setuphost: This service exhibits idempotent behavior, adapting to your configuration as defined through the environment variables in the .env file. See Configure features supported in the container. This service initiates a privileged container that runs scripts on the host as the root user to initialize the environment for the secure and correct execution of the Runtime container.
- Runtime: This service launches the Runtime container, which runs as the
remoteaccess_runtime
user, following the successful completion of the setuphost service.