mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-13 01:58:22 +00:00
chg: [doc] move the Docker junk
This commit is contained in:
parent
5416a21021
commit
8964f96c3c
1 changed files with 44 additions and 0 deletions
44
doc/X-docker.md
Normal file
44
doc/X-docker.md
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
Docker Quick Start (Ubuntu 16.04 LTS)
|
||||||
|
------------
|
||||||
|
|
||||||
|
:warning:
|
||||||
|
Not maintained at the moment.
|
||||||
|
If you are interested to get this running, please:
|
||||||
|
|
||||||
|
Fork -> Branch -> PR
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
docker build -t ail-framework .
|
||||||
|
```
|
||||||
|
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).
|
||||||
|
|
Loading…
Reference in a new issue