Skip to content

Latest commit

 

History

History
70 lines (50 loc) · 2.56 KB

README.md

File metadata and controls

70 lines (50 loc) · 2.56 KB

Consul

This is docker image to run the Consul.

CircleCI GitHub stars

Image size: 33 MB

Consul: 0.7.0-r0

Usage

You need to create a fixture in the form of a directory tree. A value to be written to a file.

e.g. http://consul:8500/v1/kv/service/mysql/host

fixtures
 |- v1
    |- kv
        |- service
            |- mysql
                |- host

mkdir -p fixtures/v1/kv/service/mysql/host

echo "my-host-mysql" >> fixtures/v1/kv/service/mysql/host/value.json

Run consul

docker run -d -v `pwd`/fixtures:/data -p 8500:8500 imega/consul

Check value

$ curl http://consul:8500/v1/kv/service/mysql/host?raw
my-host-mysql
$

Alpine Packages

  • musl (1.1.14-r11)
  • busybox (1.24.2-r11)
  • ncurses-terminfo-base (6.0-r7)
  • ncurses-terminfo (6.0-r7)
  • ncurses-libs (6.0-r7)
  • readline (6.3.008-r4)
  • bash (4.3.42-r3)
  • consul (0.7.0-r0)
  • zlib (1.2.8-r2)
  • libcrypto1.0 (1.0.2h-r2)
  • ca-certificates (20160104-r4)
  • libssl1.0 (1.0.2h-r2)
  • libssh2 (1.7.0-r0)
  • libcurl (7.50.2-r0)
  • curl (7.50.2-r0)
  • jq (1.5-r1)

The MIT License (MIT)

Copyright © 2016 iMega [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.