Ubuntu Linux based toolbox for CoreOS
7.4K
CoreOS is a minimal linux distribution with Docker as package manager. Because of this it lacks of tools like tmux. Fortunatelly you can use CoreOS toolbox to install any distribution and tools into a container. This way you can use your default distro under CoreOS. Toolbox uses systemd-nspawn to start container, but you don't need to bootstrap, because it uses Docker images as a base. More information: https://coreos.com/os/docs/latest/install-debugging-tools.html .
This is an Ubuntu Linux based toolbox for CoreOS. With this you can install any tool you found in Ubuntu's apt package manager. It is configured to be able to use the most important tools in the container and you see similar environment.
We use this solution in production on our classified-ad site: apro.hu
After install you can remove the docker image, no longer needed (it is extracted to /var/lib/toolbox):
docker rmi pickapp/docker-coreos-toolbox-ubuntu
Just start toolbox command. You will be in a virtual machine (used with systemd-nspawn) with most CoreOS tools working like fleetctl, etcdctl and docker.
With this toolbox, you can just run:
toolbox tmux
If you detach it, it is running in the background, so you can reattach it again with:
toolbox tmux attach -t 0
Inside tmux you can monitor your services with flettctl and etcdctl or even with docker. Eg.:
watch -t -n1 fleetctl list-units -no-legend
fleetctl journal -f loadbalancer
Content type
Image
Digest
Size
109.6 MB
Last updated
about 9 years ago
docker pull pickapp/docker-coreos-toolbox-ubuntu