Docker: Difference between revisions

→‎Nginx: added ntop
(→‎Nginx: custom)
(→‎Nginx: added ntop)
Line 133:
docker run --name nginx8083 -p 8083:8000 -d -v ~/docker/nginx8083/html:/usr/share/nginx/html -v ~/docker/default.conf:/etc/nginx/conf.d/default.conf --restart unless-stopped nginx
docker run --name nginx8084 -p 8084:8000 -d -v ~/docker/nginx8084/html:/usr/share/nginx/html -v ~/docker/default.conf:/etc/nginx/conf.d/default.conf --restart unless-stopped nginx</pre>
 
=Ntop=
Downloading and installing image first time
docker pull lucaderi/ntopng-docker
docker run --net=host -name ntopng -t -i lucaderi/ntopng-docker ntopng -v
 
Let it run for few minutes.<br/>
Now press COntrol+C keys to terminate the process.<br/>
Now to start it type the below command:
docker start ntopng
<br/>
 
= RancherOS =