Skip to main content

marina manages docker instances

Project description

marina

Marina is a tool for building docker images with a focus on separating compile-time dependencies from run-time dependencies in order to keep the shipped images small and secure.

Installation

pip install marina

Usage

marina -vvv build examples/shootout

App Config

name: dummy

compile:
  base_image: ubuntu:14.04
  commands:
    - dd if=/dev/urandom of=/srv/dummy bs=50kB count=1
  files:
    - /srv/dummy

run:
  base_image: ubuntu:14.04

Running Tests

pip install marina[testing]
py.test

0.0.9 (2016-07-25)

0.0.8 (2016-07-22)

  • Support Python 3.

  • [build] Stop using an API that was removed in docker 1.12.

  • [build] Allow the BUILD_CONTEXT (cwd in scripts) to be writeable. Previously it was mounted readonly.

  • [build] Search for the ssh identity file in known paths.

  • [build] Add a workaround for a bug in docker-py causing the runner image to fail to build. See https://github.com/docker/docker-py/issues/1134

0.0.7 (2016-02-18)

  • [build] Flush stdout to keep container messages from pausing.

0.0.6 (2016-01-08)

  • [build] Delete any volumes associated with a container.

  • [build] Fix usage of ExposedPorts from runner base image.

0.0.5 (2015-08-25)

  • [build] Exit with an error code upon failure instead of 0.

0.0.4 (2015-08-24)

  • Turn off docker hostname verification to enable connections with docker-machine instances over SSL until https://github.com/docker/docker-py/issues/731 is resolved.

  • [build] Avoid detaching from the archive container before the tarfile has been fully written to disk.

  • [build] Add --skip-cleanup option for keeping images/containers/files around after the build.

0.0.3 (2014-11-19)

  • Support docker 1.3.x and its TLS requirements.

0.0.2 (2014-07-12)

  • Support --quiet for suppressing output.

  • [build] Add --env option for specifying credentials and other configurable build-time settings.

  • [build] Ensure the busybox image is around.

0.0.1 (2014-07-03)

  • Initial release.

  • First cut at “marina build” to generate a working docker container.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marina-0.0.9.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

marina-0.0.9-py2.py3-none-any.whl (13.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file marina-0.0.9.tar.gz.

File metadata

  • Download URL: marina-0.0.9.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for marina-0.0.9.tar.gz
Algorithm Hash digest
SHA256 6013c8923fa67ec1e69420d88c2e6ac4aadee4b00108916396978bbed17e0772
MD5 23a5aa036539d711d2ddb6026a138ecb
BLAKE2b-256 b272beb563eb2239d35a8855b4aa131f66d32ec4182270c135f609048cf882b1

See more details on using hashes here.

File details

Details for the file marina-0.0.9-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for marina-0.0.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0f462ef4c94fbaddb8fab84e9299cea3301b313f6ab56cf53ee65faa6869a0a8
MD5 88f1809bf2cde5a91a7da95864c57bb1
BLAKE2b-256 462c8258a19083b7f983f28608eaa7a2c3f8b5558a969449adeb18c7af4e0603

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page