Hello,
I’ve been asked to start a thread here regarding my Docker image with a minimal TANGO installation.
The image is hosted at DockerHub:
https://hub.docker.com/r/mliszcz/tango-cs
This is an automated build, based on a Dockerfile which can be found in this repo: GitHub - tango-controls/tango-cs-docker: Dockerfile for TANGO control system Automated Build..
The image contains configured MySQL instance and a few tango-* packages, including tango-test.
Docker runs natively on all modern Unix-like systems (3.10.x kernel or better is required). To run the image, simply pull it from the repository and start a new container. I’m not going to explain here how docker works - there are a lot of tutorials available.
$ sudo docker pull mliszcz/tango-cs
$ sudo docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
mliszcz/tango-cs latest 20134ee1249b 3 weeks ago 377.2 MB
$ sudo docker run -d mliszcz/tango-cs
c45033610a59f5b786fd0e5a80926f2074e264ad1a4df2e55dc0eb743b342b83
$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c45033610a59 mliszcz/tango-cs "/bin/sh -c 'service " 12 seconds ago Up 11 seconds 10000/tcp trusting_leakey
$ sudo docker inspect c45033610a59
// container metadata
Now you may test this image with e.g. Jive, connecting to the container (IP may be obtained with docker inspect) on port 10000.
I’m using this container for testing my TANGO-related projects. It is not suitable for production use. Going into production would require creating separate container for the database (with persistent storage), and separate container for each device server.
I hope somebody will make use of this.
Any feedback welcome.
Best regards,
Michal
