All Projects β†’ ix-ai β†’ swarm-launcher

ix-ai / swarm-launcher

Licence: MIT license
A docker image to allow the launch of container in docker swarm, with options normally unavailable to swarm mode

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to swarm-launcher

Dockstation
DockStation is developer-centric application to managing projects based on Docker. Instead of lots of CLI commands you can monitor, configure, and manage services and containers using just a GUI.
Stars: ✭ 1,744 (+6128.57%)
Mutual labels:  docker-swarm, moby
Awesome Docker
🐳 A curated list of Docker resources and projects
Stars: ✭ 20,870 (+74435.71%)
Mutual labels:  docker-swarm, moby
Portainer
Making Docker and Kubernetes management easy.
Stars: ✭ 20,434 (+72878.57%)
Mutual labels:  docker-swarm, moby
Swarmpit
Lightweight mobile-friendly Docker Swarm management UI
Stars: ✭ 2,255 (+7953.57%)
Mutual labels:  docker-swarm, swarm-mode
addon-portainer
Portainer - Home Assistant Community Add-ons
Stars: ✭ 83 (+196.43%)
Mutual labels:  docker-swarm
traefik-ondemand-service
Traefik ondemand service for the traefik ondemand plugin
Stars: ✭ 35 (+25%)
Mutual labels:  docker-swarm
gockerfile
🐳 gockerfile is a YAML Docker-compatible alternative to the Dockerfile Specializing in simple go server.
Stars: ✭ 44 (+57.14%)
Mutual labels:  moby
scim-examples
1Password SCIM bridge deployment examples
Stars: ✭ 91 (+225%)
Mutual labels:  docker-swarm
docker-box
A lightweight docker application platform for single servers.
Stars: ✭ 62 (+121.43%)
Mutual labels:  docker-swarm
microservices-demo.github.io
The Microservices Demo website.
Stars: ✭ 65 (+132.14%)
Mutual labels:  docker-swarm
swarm-router
Scalable stateless Β«zero configΒ» service-name ingress for docker swarm mode with a fresh more secure approach
Stars: ✭ 58 (+107.14%)
Mutual labels:  docker-swarm
docker-elasticsearch
Multi-architecture (arm, x86) Docker image for Elasticsearch
Stars: ✭ 14 (-50%)
Mutual labels:  docker-swarm
swarm-sync
GitOps for Docker Swarm
Stars: ✭ 62 (+121.43%)
Mutual labels:  docker-swarm
chip
πŸ“¦ 🐳 πŸš€ - Smart "dummy" mock for cloud native tests
Stars: ✭ 19 (-32.14%)
Mutual labels:  docker-swarm
shokku
An open source scalable blockchain infrastructure for Ubiq, Ethereum, POA and IPFS that runs on Kubernetes
Stars: ✭ 33 (+17.86%)
Mutual labels:  docker-swarm
swarm-pack
Package management for Docker Swarm
Stars: ✭ 22 (-21.43%)
Mutual labels:  docker-swarm
hivemq4-docker-images
Official Docker Images for the Enterprise MQTT Broker HiveMQ
Stars: ✭ 18 (-35.71%)
Mutual labels:  docker-swarm
dama
a simplified machine learning container platform that helps teams get started with an automated workflow
Stars: ✭ 76 (+171.43%)
Mutual labels:  moby
baghdad
Distributed CI/CD for microservices
Stars: ✭ 15 (-46.43%)
Mutual labels:  swarm-mode
PainlessDocker
Painless Docker book git repository.
Stars: ✭ 17 (-39.29%)
Mutual labels:  swarm-mode

swarm-launcher

Pipeline Status Docker Stars Docker Pulls Docker Image Version (latest) Docker Image Size (latest) Gitlab Project

A docker image to allow the launch of container in docker swarm, with options normally unavailable to swarm mode

How it works

The image uses docker-compose to start a new project (see LAUNCH_PROJECT_NAME). You can either use the environment variables to configure the service started inside, or you can supply your own /docker-compose.yml file.

Either way, swarm-launcher takes care of the setup, tear-down and cleanup of the project.

Supported architectures

The following architectures are supported by this image:

  • linux/amd64
  • linux/arm64
  • linux/arm/v7
  • linux/arm/v6

Docs and Usage examples

See Docs and Usage Examples

Building the image

docker build -t swarm-launcher .

Environment variables

The following environment variables are important, if you plan on using a private repository:

Variable
LOGIN_USER
LOGIN_PASSWORD
LOGIN_PASSWORD_FILE
LOGIN_REGISTRY

The following environment variables are important if you don't supply a /docker-compose.yml file in the swarm-launcher container:

Variable Default Mandatory Description
LAUNCH_IMAGE - YES The image for the container
LAUNCH_PROJECT_NAME random (by swarm-launcher) NO If you want to use a specific name for the project (similar to the stack name)
LAUNCH_SERVICE_NAME random (by swarm-launcher) NO If you want to use a specific name for the service
LAUNCH_CONTAINER_NAME random (by docker) NO If you want to use a specific name for the container (similar to the task name)
LAUNCH_HOSTNAME - NO If you want to use a specific hostname for the container
LAUNCH_PRIVILEGED false NO Set this to true if you want to start a privileged container
LAUNCH_ENVIRONMENTS - NO Space separated list of Key=Value pairs. Note: @_@ gets replaced with a single whitespace, so you can expose environment values containing spaces.
LAUNCH_DEVICES - NO Space separated list of DeviceOnHost:DeviceInContainer
LAUNCH_VOLUMES - NO Space separated list of File/FolderOnHost:File/FolderInContainer
LAUNCH_HOST_NETWORK false NO Set this to true to start the container on the host network. This option is not compatible with LAUNCH_PORTS, LAUNCH_NETWORKS, LAUNCH_EXT_NETWORKS and LAUNCH_EXT_NETWORKS_IPV4
LAUNCH_PORTS - NO Space separated list of PortOnHost:PortInContainer
LAUNCH_NETWORKS - NO Space separated list of project networks to create. All networks are created with attachable: true
LAUNCH_EXT_NETWORKS - NO Space separated list of external networks to attach to
LAUNCH_EXT_NETWORKS_IPV4 - NO Similar to LAUNCH_EXT_NETWORKS, this is a space separated list of ExistingExternalNetworkName:Ipv4Address
LAUNCH_CAP_ADD - NO Space separated list of capabilities to add
LAUNCH_CAP_DROP - NO Space separated list of capabilities to drop
LAUNCH_SECURITY_OPT - NO Space separated list of security options to add
LAUNCH_LABELS ai.ix.started-by=ix.ai/swarm-launcher  NO  Space separated list of Label=Value pairs
LAUNCH_PULL false NO Set this to true to check at every container start for the latest image version
LAUNCH_SYSCTLS - NO Space separated list of sysctl=value
LAUNCH_COMMAND - NO A string that overrides the default command
LAUNCH_CGROUP_PARENT - NO A string that specify the parent cgroup for the container
LAUNCH_STOP_GRACE_PERIOD 10s (by docker) NO Allows to override the default stop_grace_period. Note: It makes sense to also add a slightly higher stop_grace_period to the swarm-launcher stack as well!
LAUNCH_PID_MODE - NO Set this to host to enable PID address space sharing between container and host operating system
LAUNCH_ULIMITS - NO Space separated list of Key=Value pairs. Note: Only integers are supported, NOT hard/soft ulimits! Example: nproc=131072 nofile=60000 core=0
LAUNCH_EXTRA_HOSTS - NO Space separated list of HostName:Mapping pairs
LAUNCH_DNS - NO Space separated list of DNS servers
LAUNCH_DNS_SEARCH - NO Space separated list of DNS search domains
LAUNCH_MAC_ADDRESS - NO Valid mac address for the launched container

Note: Make sure you check out the documentation.

Resources:

Credits

This Docker image is inspired by the post by @akomelj in moby/moby#25885

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].