Skip to content

Minimal Docker container for running fleetctl inside CoreOS containers

Notifications You must be signed in to change notification settings

cap10morgan/fleetctl-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

fleetctl Docker container

This is a Busybox-based fleetctl Docker container. Designed to be small in size so you can quickly and easily run fleet commands from other Docker containers without needing to install fleetctl in them.

Available from Docker Hub as cap10morgan/fleetctl

Usage

docker run cap10morgan/fleetctl list-units

Inside other Docker containers

To use this from within other Docker containers running on a CoreOS host, you need to let fleetctl talk to the fleet daemon running on the host. You can run the parent container with --net=host or something like this:

docker run -e FLEETCTL_TUNNEL=docker-bridge-ip cap10morgan/fleetctl list-units

Either way you'll need to bind mount the host Docker socket on the host as a volume inside the parent container so that it can run other docker containers.

License

BSD

About

Minimal Docker container for running fleetctl inside CoreOS containers

Resources

Stars

Watchers

Forks

Packages

No packages published