docker/30.1.2
You can find the source of this version on GitHub at cf-platform-eng/docker-boshrelease. It was created based on the commit edd6e4d
.
Release Notes¶
Improvements
Optional cf-containers-broker
property enable_host_port_envvar=true
will provide DOCKER_HOST_PORT_nnnn
for each exposed port. This allows a container to discover the host port for each internal port.
For example, if a redis image exposed port 6379
, then inside each container it could look up DOCKER_HOST_PORT_6379
to find out what the external port mapping is.
Deployment
Deployment manifest snippet:
releases:
- name: docker
version: 30.1.2
url: https://github.com/cloudfoundry-community/docker-boshrelease/releases/download/v30.1.2/docker-30.1.2.tgz
sha1: 3bb14274fa7b72856d2e026e89af9b552e6f735e
Or bosh2
operator patch file:
- type: replace
path: /releases/name=docker
value:
version: 30.1.2
url: https://github.com/cloudfoundry-community/docker-boshrelease/releases/download/v30.1.2/docker-30.1.2.tgz
sha1: 3bb14274fa7b72856d2e026e89af9b552e6f735e
Usage¶
You can reference this release in your deployment manifest from the releases
section:
- name: "docker" version: "30.1.2" url: "https://bosh.io/d/github.com/cf-platform-eng/docker-boshrelease?v=30.1.2" sha1: "b7c78868728c6398a954094806c8a6c7bf7f56f1"
Or upload it to your director with the upload-release
command:
bosh upload-release --sha1 b7c78868728c6398a954094806c8a6c7bf7f56f1 \ "https://bosh.io/d/github.com/cf-platform-eng/docker-boshrelease?v=30.1.2"