Configuring Docker insecure repository ( server gave HTTP response to HTTPS client)

If docker gives the error “server gave HTTP response to HTTPS client” when starting a container, you can fix it by adding the following configuration: for never Docker releases, create or update the file /etc/docker/daemon.json as: { “insecure-registries”:[“MY_INSECURE_ADDRESS:5000”] } Replace MY_INSECURE_ADDRESS with your own address. for older Docker releases, create or update the file  /etc/init.d/docker as: DOCKER_OPTS=–insecure-registry MY_INSECURE_ADDRESS:5000 … More Configuring Docker insecure repository ( server gave HTTP response to HTTPS client)

Vagrant machine proxy configuration

To configure proxy for a Vagrant host: 1. put the following configuration in the Vagrant file authenticating proxy: Not replace the following keywordt with the real data: USERNAME PASSWORD PROXYADDRESS PROXYPORT Ex: vagrantuser/vagrantpassword@vagranthost:8080 2: restart the host or alternatively, execute “vagrant provision” This configuration creates a new file in the “/etc/apt/apt.conf.d” directory with the name: … More Vagrant machine proxy configuration