Skip to main content

License: MIT Build Status PyPI version Codacy Badge Slack

polyaxon-dockerizer

Python tool to generate dockerfiles compatible with Polyaxon dockerizer and Polyaxon CLI local run.

Install

$ pip install -U polyaxon-dockerizer

Usage

Generate Dockerfiles

from polyaxon_dockerizer import generate

generate(repo_path,
         from_image,
         build_steps=['apt-get install git', 'pip install tensorflow'],
         env_vars=[['ENV_VAR1', 'VALUE1'], ['ENV_VAR2', 'VALUE2']],
         nvidia_bin=None,
         lang_env='en_US.UTF-8',
         uid=2222,
         gid=2222)

Build images

from polyaxon_dockerizer import build

build(build_context,
      image_tag,
      image_name,
      nocache,
      credstore_env=None,
      registries=None)

Build & Push images

from polyaxon_dockerizer import build_and_push

build_and_push(build_context,
               image_tag,
               image_name,
               nocache,
               credstore_env=None,
               registries=None)

Install polyaxon

Please check polyaxon installation guide

Quick start

Please check our quick start guide to start training your first experiment.

Metadata

Release files for polyaxon-dockerizer 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polyaxon-dockerizer 0.1.0
File Size Uploaded
polyaxon-dockerizer-0.1.0.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for polyaxon-dockerizer 0.1.0
File Interpreter ABI Platform
polyaxon_dockerizer-0.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 20.7 kB

Release files / polyaxon-dockerizer-0.1.0.tar.gz

Download URL polyaxon-dockerizer-0.1.0.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
58ca489f3e51d4f3865f866cc8258c4030d3dbebfd44d93b56b2ab971bb6a278
BLAKE2b-256 checksum
How to use checksums
3dce506feb8b15676b7441eb038de8e5066252b6113ac87f5b8bdd26d6006d7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.32.1 CPython/3.7.1

Release files / polyaxon_dockerizer-0.1.0-py2.py3-none-any.whl

Download URL polyaxon_dockerizer-0.1.0-py2.py3-none-any.whl
Size 10.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
80a20be0e4107682f98110db71007f87267cd756a36f6a47c46721f5d7e70115
BLAKE2b-256 checksum
How to use checksums
3ce618efb9ca7087f064dd64dcaf0709fdb34eee18c5f2a8a8d023e9ecdacf37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.32.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page