Sha256: 322efa7f8156c34ca7f0249e29458cf8781d1ae199011a76ba33617388b62fb0

Contents?: true

Size: 1.16 KB

Versions: 10

Compression:

Stored size: 1.16 KB

Contents

module Ufo
  module Docker::Help
    def base
<<-EOL

The docker cache task builds a docker image using the Dockerfile.base file and
updates the FROM Dockerfile image with the generated image from Dockerfile.base.

Examples:

$ ufo docker base

$ ufo docker base --no-push # do not push the image to the registry

Docker image tongueroo/hi:base-2016-10-21T15-50-57-88071f5 built.
EOL
    end

    def build
<<-EOL
Examples:

$ ufo docker build

$ ufo docker build --push # also pushes the image to the docker registry

Docker image tongueroo/hi:ufo-2016-10-21T15-50-57-88071f5 built.
EOL
    end

    def name
<<-EOL
Examples:

$ ufo docker name

Docker image name that will be used: tongueroo/hi:ufo-2016-10-15T19-29-06-88071f5
EOL
    end

    def clean
<<-EOL
Examples:

Say you currently have these images:

* tongueroo/hi:ufo-2016-10-15T19-29-06-88071f5

* tongueroo/hi:ufo-2016-10-16T19-29-06-88071f5

* tongueroo/hi:ufo-2016-10-17T19-29-06-88071f5

* tongueroo/hi:ufo-2016-10-18T19-29-06-88071f5

To clean them up and keep the 3 more recent:

$ ufo docker clean tongueroo/hi

This will remove tongueroo/hi:ufo-2016-10-15T19-29-06-88071f5.
EOL
    end

    extend self
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ufo-2.1.0 lib/ufo/docker/help.rb
ufo-2.0.3 lib/ufo/docker/help.rb
ufo-2.0.2 lib/ufo/docker/help.rb
ufo-2.0.1 lib/ufo/docker/help.rb
ufo-2.0.0 lib/ufo/docker/help.rb
ufo-1.7.1 lib/ufo/docker/help.rb
ufo-1.7.0 lib/ufo/docker/help.rb
ufo-1.6.2 lib/ufo/docker/help.rb
ufo-1.6.1 lib/ufo/docker/help.rb
ufo-1.6.0 lib/ufo/docker/help.rb