etcd api on CoreOS – setting ip address configurations remotely

I am attempting to use etcd‘s remote api to configure a coreOS box remotely with static values like ip address, dns resolve address, gateway, ect.

I theory I should be able to file something like:

  • Dcos on premises , How out side world reach to docker container if we are using mesos-dns?
  • Unable to create machine in docker
  • issue with the docker compose file
  • Application logging .net core & docker
  • Docker busybox exit immediately
  • remote docker commands execution
  • curl -X PUT “http://xxx.xxx.xxx.xxx:4001/v2/keys/etcd/registry/???_/_state?prevExist=false” -d value=10.10.10.1

    But i can’t find a reference to the exact syntax to use.

  • Dockerfile RUN vs run image and use /bin/bash provides different result
  • Bamboo Mesos Marathon
  • How to execute multiple commands on remote server and get the output?
  • How does device mapper “union” docker images
  • docker-compose up "ERROR: Error processing tar file(archive/tar: invalid tar header)
  • Does all running docker containers have a separate process ID
  • One Solution collect form web for “etcd api on CoreOS – setting ip address configurations remotely”

    etcd doesn’t handle configuration of the host system. It is a distributed key / value store. It can certainly store configuration for applications and maybe even the host. But you have need some other tool to pull the data from the store and transform it into configuration that the application or host recognizes. The application I use to do this inside Docker containers is confd (https://github.com/kelseyhightower/confd).

    For configuration of the CoreOS host, you would generally be using Cloud-Config (https://coreos.com/docs/cluster-management/setup/cloudinit-cloud-config/) and writing unit files to deal with certain parts of the system, such as networking (https://coreos.com/docs/cluster-management/setup/network-config-with-networkd/). Hope this helps!

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.