Help us understand the problem. What is going on with this article?

CoreOsの dockerに insecure-registry環境変数追加

More than 3 years have passed since last update.

環境情報

coreos-vagrant
CoreOS alpha (899.1.0)

経緯

coreos上のdockerに、private docker registry(insecure registry)に対して、docker pull/pushできるようにしたい

coreos-vagrant/user-dataを作成

以下の内容でuser-dataを作成し、
vagrant halt -> vagrant destroy -> vagrant up

#cloud-config

coreos:
  units:
    - name: "docker.service"
      drop-ins:
        - name: "50-insecure-registry.conf"
          content: |
            [Service]
            Environment='DOCKER_OPTS=--insecure-registry="host:port"'
host: private docker registryが動いているサーバのホスト名
port: private docker registryのポート

参考

Using a registry without SSL configured部分

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away