allow insecure registry in host provisioned with docker-machine

If you are running docker-machine version v0.2 stable, you can’t set docker option in light way. But in next version v0.3 this problem was resolved with the creation parameters. At this moment this feature it’s on RC1,then you can use a version v0.3.0-RC-1 or wait for delivery the next stable version v0.3.0(tentatively Jun.16). Then use … Read more

.docker/config.json vs .dockercfg

I assume config.json is the new .dockercfg file. See “docker/cliconfig/config.go“ // ConfigFileName is the name of config file ConfigFileName = “config.json” oldConfigfile = “.dockercfg” The new config file is now documented under man/config-json.5.md That was introduced in commit 18c9b6c in docker 1.7.0 (April 2015) Add .docker/config.json and support for HTTP Headers This PR does the … Read more

Docker daemon config file on boot2docker / docker-machine / Docker Toolbox

Inside boot2docker (boot2docker ssh) / docker-machine (docker-machine ssh default) , open or create the file /var/lib/boot2docker/profile and add the following line: EXTRA_ARGS=”–dns 192.168.1.145″ Also works for: EXTRA_ARGS=”–insecure-registry myinternaldocker” After the change you need to restart the docker daemon: sudo /etc/init.d/docker restart Or leave boot2docker / docker-machine and restart the entire virtual machine: boot2docker restart # … Read more

Importing self-signed cert into Docker’s JRE cacert is not recognized by the service

Hence imported the self-signed certificate of HTTPS external URL into Docker container’s JRE cacert keystore. No: you need to import it into the Docker image from which you run your container. Importing it into the container would only create a temporary writable data layer, which will be discarded when you restart your container. Something like … Read more

sudo: docker-machine: command not found

You need to install Docker Machine first on your local machine. If you use Ubuntu, just use this snippet (Update the version from the Official Repository Releases if needed) : $ curl -L https://github.com/docker/machine/releases/download/v0.16.0/docker-machine-`uname -s`-`uname -m` >/tmp/docker-machine && chmod +x /tmp/docker-machine && sudo cp /tmp/docker-machine /usr/local/bin/docker-machine

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)