EVE-Pro docker installation behind a proxy

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
rene0815
Posts: 7
Joined: Wed Jun 26, 2019 8:00 am

EVE-Pro docker installation behind a proxy

Post by rene0815 » Wed Aug 14, 2019 5:35 pm

Hi,

I upgraded from EVE-Community to EVE-Pro, but the docker installation failes.
My EVE-Server is sitting behind a http-proxy so I added the proxy configuration to "/etc/systemd/system/docker.service.d".
But I think this only applies to docker itself but not to any containers that want to download packages.

Now the installation process stalls at a later stage. I believe this is because the containers try to download directly.
I need to admit that I never used docker before so this is pretty new for me.

Any help on this is appreciated.

Many thanks,
Rene

Uldis (UD)
Posts: 2566
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: EVE-Pro docker installation behind a proxy

Post by Uldis (UD) » Wed Aug 14, 2019 6:44 pm

First you havr to take in account this stuff...

Make sure your eve can reach internet, fqdn is configured right and you can ping named like: ping www.eve-ng.net
Next
in cli from root
1. update your eve with version 2.0.5-22:
wget 'http://www.eve-ng.net/repo-testing/pool ... _amd64.deb

2. run dpkg -i eve-ng-pro_2.0.5-22_amd64.deb
Reboot eve

3. update your proxy settings:
Use vi or nano, where IP is your proxy IP, port as well must be ours.
WARNING: syntax is very important in this file.

cat /etc/apt/apt.conf.d/00proxy

Acquire::http::Proxy "http://10.10.10.10:80/";
Acquire::https::Proxy "http://10.10.10.10:80/";
Acquire::ftp::Proxy "http://10.10.10.10:80/";

rule for FW if such exisit:
FW rule for EVE lic server
protocol: https
Direction: out/in
IP: 91.134.167.218

this is our EVE lic server IP.


Uldis

Offline dockers is possible to install as well:

https://mega.nz/#F!m9YQ2IyT!PqXv8HVCtjbqSwoeWgTpcA

download, load in your eve, (root) run script.

Post Reply