boot2docker ssh 'sudo sh -c "echo "EXTRA_ARGS=\"--insecure-registry 192.168.0.0/16\"" > /var/lib/boot2docker/profile && sudo /etc/init.d/docker restart"' docker-compose up --allow-insecure-ssl -d
For me it worked with --insecure-registry=.../16 (with equals sign after the arugment name), but anyway, thanks for the hint.