2020-07-25 11:06:49 +02:00
|
|
|
Docker Quick Start (Ubuntu 18.04 LTS)
|
2019-07-05 16:35:45 +02:00
|
|
|
------------
|
|
|
|
|
|
|
|
:warning:
|
2023-04-13 16:36:45 +02:00
|
|
|
This Docker is not maintained at the moment.
|
|
|
|
If you are interested to contribute, please submit a Pull Request
|
2019-07-05 16:35:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
1. Install Docker
|
|
|
|
```bash
|
|
|
|
sudo su
|
|
|
|
apt-get install -y curl
|
|
|
|
curl https://get.docker.com | /bin/bash
|
|
|
|
```
|
|
|
|
|
|
|
|
2. Type these commands to build the Docker image:
|
|
|
|
```bash
|
|
|
|
git clone https://github.com/CIRCL/AIL-framework.git
|
|
|
|
cd AIL-framework
|
2020-07-25 11:08:45 +02:00
|
|
|
cp -r ./other_installers/docker/Dockerfile ./other_installers/docker/docker_start.sh ./other_installers/docker/pystemon ./
|
2020-08-03 10:53:32 +02:00
|
|
|
cp ./configs/update.cfg.sample ./configs/update.cfg
|
|
|
|
vim/nano ./configs/update.cfg (set auto_update to False)
|
2020-07-25 14:48:17 +02:00
|
|
|
docker build --build-arg tz_buildtime=YOUR_GEO_AREA/YOUR_CITY -t ail-framework .
|
2019-07-05 16:35:45 +02:00
|
|
|
```
|
|
|
|
3. To start AIL on port 7000, type the following command below:
|
|
|
|
```
|
|
|
|
docker run -p 7000:7000 ail-framework
|
|
|
|
```
|
|
|
|
|
|
|
|
4. To debug the running container, type the following command and note the container name or identifier:
|
|
|
|
```bash
|
|
|
|
docker ps
|
|
|
|
```
|
|
|
|
|
|
|
|
After getting the name or identifier type the following commands:
|
|
|
|
```bash
|
|
|
|
docker exec -it CONTAINER_NAME_OR_IDENTIFIER bash
|
|
|
|
cd /opt/ail
|
|
|
|
```
|
|
|
|
|
|
|
|
Install using Ansible
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
Please check the [Ansible readme](ansible/README.md).
|
|
|
|
|