Autogenerate Dockerfile from ubuntu image

I was learning docker to use in one of my projects. I kept installing packages, finally created required Ubuntu image. Suddenly thought it would be cool if I can generate Dockerfile like pip freeze > requirements.txt. sudo docker run ubuntu dpkg --get-selections | awk '{print $1}' > base.list && sudo docker run pyextra dpkg --get-selections | awk '{print $1}'> pyextra.list && sort base.list pyextra.list | uniq -u > op.list && python -c "f = open('Dockerfile', 'w');f. [Read More]

Setting up privoxy proxy server for browsing

I wanted to setup proxy server for browsing. Tried http://www.squid-cache.org/ felt cumbersome to configure though it has advanced features. Finally decided to setup http://www.privoxy.org/. I assume you have personal server where all the requests are forwarded. Installation __ Server Config__ sudo apt-get install privoxy sudo vim /etc/privoxy/config look for listen-address and add ip:port listen-address 78.12.204.2:8118 To enable logging for all requests uncomment debug 1(you will need to rotate log file using cronjob). [Read More]