Repository navigation
Run as Docker
#Maintaining a Docker based FITeagle instance
##preperation
- install a recent version of Docker. (we use docker 1.7)
apt-get install docker-ioThe installation is done using a helper sctipt (bin/docker_watcher.sh) that will create, update and run the Docker container.
- create a working directory (e.g.
mkdir /opt/fiteagle && cd /opt/fiteagle) - checkout the bootstrap repository
git clone https://github.com/FITeagle/bootstrap.git - create symlink to helper script
ln -s bootstrap/bin/docker_watcher.sh . - create fiteagle configuration files in (default: $PWD/dot_fitagle/)
- create & run FITeagle docker
sudo ./docker_watcher.sh -f
There are various configuration options that can be changed via a configuration file (docker_watcher.conf) in the current directory where the helper script is executed.
currently there is no pre-build version available in the docker hub however a Dockerfile is provided to easily build your own Docker image.
The Dockerfile uses the bootstrap script to install the dependencies and the latest FITeagle binaries from our snapshot repository.
git clone https://github.com/FITeagle/bootstrap.git fiteagle-bootstrap
cd fiteagle-bootstrap/docker
docker build --no-cache --tag=fiteagle2bin .
docker run -d --name=ft2 -p 8443:8443now the FITeagle2 service is reachable via https://localhost:8443/
##OLD FITeagle can be perfectly run inside a Docker container
currently there is no pre-build version available in the docker hub however we provide a Dockerfile to easily build your own Docker image.
The Dockerfile uses the bootstrap script to install the dependencies and the latest FITeagle binaries from our snapshot repository.
The script docker_watcher.sh is used by our demo installation (demo.fiteagle.org) to periodically rebuild and restart the Docker instance when there are new commits in the repository that pass travis-ci build.