Docker Install Linux
Local Environment Setup using Docker-Compose

Docker Installation

Docker Engine is available on a variety of Linux platforms, macOS and Windows 10 through Docker Desktop, and as a static binary installation. Find your preferred operating system below.
    1.
    ​Windows​
    2.
    ​Mac​

Linux Installation

1
$ sudo apt install docker.io
Copied!
Now type sudo docker to verify the docker installation
1
$ sudo docker
Copied!

Docker-Compose Installation

1. Run this command to download the current stable release of Docker-Compose:
1
$ sudo curl -L "https://github.com/docker/compose/releases/download/1.29.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
Copied!
2. Apply executable permissions to the binary:
1
$ sudo chmod +x /usr/local/bin/docker-compose
Copied!
3. Test the installation.
1
$ docker-compose --version
Copied!

Host Registry

1. Add in the host entry with your current IP address.
2. Edit your host registry file.
1
nano /etc/hosts
Copied!
3. Now export the variable in root shell by typing "export SCAN_URL=http://cdefense.local" to point to the local version.
1
sudo su
2
export SCAN_URL=http://cdefense.local
Copied!
4. After this, bring up the docker-compose.yaml file (Provided to you via email) by typing.
1
docker-compose up
Copied!
5. All services will start and the Web Interface will be deployed. You can verify by opening in your browser and type "http://cdefense.local".
Last modified 1mo ago