This is a docker implementation of fli4l 3.10 buildroot container for the fli4l developers.
For more information please refer to Official website or Support forum
This instruction works for a Centos7 docker host. Other distributions may need some adjustments.
sudo tee /etc/yum.repos.d/docker.repo <<-'EOF'
[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7/
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
EOF
...
sudo yum install docker-engine -y
...
sudo systemctl enable docker.service
...
sudo systemctl start docker.service
You now have two options:
- Build from scratch or
- Pull the ready-made image from DockerHub.
sudo docker pull nettworksevtooling/fli4l-3.10-buildroot-developer
sudo git clone https://github.com/nettworks-e-V/fli4l-3.10-buildroot-developer.git
cd fli4l-3.10-buildroot-developer
sudo docker build -t nettworksevtooling/fli4l-3.10-buildroot-developer:latest .
sudo docker run \
--name fli4l-3.10-buildroot-developer** \
-d \
nettworksevtooling/fli4l-3.10-buildroot-developer:latest
There are the following mountpoints available:
- tbd...
These mountpoints can be used to mount folders from the host or other volumes to store informations which should be persistant or should not everytime be recreated.
With the additional run parameter -v :/data/work/ you can mount a folder on the docker host which contains persistant data. So the run command may look like the following example:
sudo docker run \
--name fli4l-3.10-buildroot-developer \
-v /data/svn-checkout/:/data/work/ ...
tbd...
Check running / stopped container:
sudo docker ps -a
Stop the container
sudo docker stop fli4l-3.10-buildroot-developer
Start the container
sudo docker start fli4l-3.10-buildroot-developer
Get logs from container
sudo docker logs -f fli4l-3.10-buildroot-developer
Open cmdline inside of container
sudo docker exec -i -t fli4l-3.10-buildroot-developer /bin/bash