Skip to main content

Package a PyMacaron microservice into a Docker image

Project description

pymacaron-docker

Tools for packaging a PyMacaron microservice as a Docker image.

See more at pymacaron.com

Generating a new pymacaron/base image

To generate a new pymacaron/base image, run:

./bin/pymdockerbase --push

By default, the generated new base image gets tagged with a version number generated from today's date and the commit number.

You can see available pymacaron base images here.

To give the most recent image the 'stable' tag, do:

  • First make sure the image is indeed stable by using it as the base image to various pymacaron services for a while

  • Then give it the stable tag and push back to docker.io:

docker pull pymacaron/base:<LATEST_VERSION>
docker tag pymacaron/base:<LATEST_VERSION> pymacaron/base:stable
# Optionally: do 'docker login'
docker push pymacaron/base:stable

bin/pymdocker

Build a pymacaron docker image and/or push it to a docker repository. For details:

pymdocker --help

Author

Erwan Lemonnier
github.com/pymacaron
github.com/erwan-lemonnier
www.linkedin.com/in/erwan-lemonnier/

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

pymacaron-docker-0.0.57.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file pymacaron-docker-0.0.57.tar.gz.

File metadata

  • Download URL: pymacaron-docker-0.0.57.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.2

File hashes

Hashes for pymacaron-docker-0.0.57.tar.gz
Algorithm Hash digest
SHA256 5cc6f98c0b9b8816b3690aaab19e0a5c05e62856fda082e35184905ddc857113
MD5 b7cf5833b9ec08b95a6b26719b08f026
BLAKE2b-256 b8140f74b47c49d4591765b5e281e55263cffc903137ecfe8d99c2de9f62f15e

See more details on using hashes here.

Supported by

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