Sha256: adf543e3ab2cbb0da7966b2252fedfe9d3c2c7dd0087b705814189e2784cae4d

Contents?: true

Size: 1.48 KB

Versions: 23

Compression:

Stored size: 1.48 KB

Contents

# README for Docker Containers created by Machinery

This directory contains a (Docker Compose) Container configuration that was exported by
Machinery.

The user is expected to be familiar with using Docker.
Details on Docker can be found at https://www.docker.com/.

This is an experimental feature and for now we **require to run every command as
root**. If you encounter any issues please submit them to
https://github.com/SUSE/machinery/issues

## Requirements

Docker and docker-compose are required. Packages are available in the Virtualization repository.

Install on openSUSE 13.2:

    zypper ar -f http://download.opensuse.org/repositories/Virtualization:/containers/openSUSE_13.2/ virt
    zypper refresh
    zypper in docker docker-compose
    systemctl start docker

## Set Up

When necessary, we've included a `setup.rb` script in your new containerized
application. This script uses the ruby client for the Docker Remote API so you
will need to install it as a gem.

    gem install docker-api

Once installed please make sure to run the setup script before running
`docker-compose up`.

    ./setup.rb

## Managing Docker containers

Start the application:

    docker-compose up

_When started this way you can hit `ctrl-c` and the application will be
stopped.)_

Start the application as daemon in background:

    docker-compose up -d

Shows a list of all running containers:

    docker-compose ps

Stop the application:

    docker-compose kill

Remove all containers:

    docker-compose rm -vf

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
machinery-tool-1.24.1 export_helpers/containerize_readme.md
machinery-tool-1.24.0 export_helpers/containerize_readme.md
machinery-tool-1.23.1 export_helpers/containerize_readme.md
machinery-tool-1.23.0 export_helpers/containerize_readme.md
machinery-tool-1.22.3 export_helpers/containerize_readme.md
machinery-tool-1.22.2 export_helpers/containerize_readme.md
machinery-tool-1.22.1 export_helpers/containerize_readme.md
machinery-tool-1.22.0 export_helpers/containerize_readme.md
machinery-tool-1.21.0 export_helpers/containerize_readme.md
machinery-tool-1.20.0 export_helpers/containerize_readme.md
machinery-tool-1.19.0 export_helpers/containerize_readme.md
machinery-tool-1.18.0 export_helpers/containerize_readme.md
machinery-tool-1.17.0 export_helpers/containerize_readme.md
machinery-tool-1.16.4 export_helpers/containerize_readme.md
machinery-tool-1.16.3 export_helpers/containerize_readme.md
machinery-tool-1.16.2 export_helpers/containerize_readme.md
machinery-tool-1.16.1 export_helpers/containerize_readme.md
machinery-tool-1.16.0 export_helpers/containerize_readme.md
machinery-tool-1.15.0 export_helpers/containerize_readme.md
machinery-tool-1.14.2 export_helpers/containerize_readme.md