Docker Services

Undraw My Documents

Docker Services

About

Docker is a service provider that permits to create/start/stop/drop local docker container.

Example

Example of a service in the configuration vault

services:
  sqlserver:
    type: docker
    image: mcr.microsoft.com/mssql/server:2022-CU18-ubuntu-22.04
    ports:
      - 1433:1433
    environment:
      ACCEPT_EULA: Y
      MSSQL_SA_PASSWORD: TheSecret1!

As for any value in the configuration vault, you can use:

Attributes

The Docker service provider supports actually the following attributes.

Name Description Format
NAME The container name
IMAGE The docker image name [<registry>/][<project>/]<image>[:<tag>|@<digest>]
PORTS The ports binding (from host to container) List of hostPort:containerPort
ENVIRONMENT The environment Map of Key/Pair
VOLUMES The volumes in short syntax format List of VOLUME:CONTAINER_PATH:ACCESS_MODE
COMMAND The command in exec form List of args



Related HowTo
Undraw My Documents
How to start and use the HowTo MySQL database in Tabulify

This howto shows you how to: start an mysql database with the mysql howto docker service and use the @mysql default howto mysql connection in tabul commands. howto docker services are an...
Undraw My Documents
How to start and use the HowTo SMTP server in Tabulify ?

We provide a smtp: howto connection and howto service (ie a Mailpit smtp server, a local server that accepts all messages) This howto shows you how to: start an SMTP server with the smtp howto...
Undraw My Documents
How to start and use the HowTo SqlServer database in Tabulify

This howto shows you how to: start an sqlserver database with the sqlserver howto docker service and use the @sqlserver default howto sqlserver connection in tabul commands. howto docker services...
Undraw My Documents
How to start and use the Oracle database in Tabulify

This howto shows you how to: start an oracle database with the oracle docker service and use the @oracle default howto oracle connection in tabul command. howto docker services are an easy...

Task Runner