Skip to main content

Seamlessly execute commands in a container

Project description

dockerized 🏗❤️

Easily Docker-ize your build/development environment and seamlessly run commands inside it.

dockerized is a tool for seamlessly executing commands in a container. It takes care of the details so you can run a command in a container as if it was running on your machine - just prepend any command with dockerized exec to have it run in the container.

Documentation

See https://benzaita.github.io/dockerized-cli/index.html

Getting Started

Install dockerized:

$ pip install dockerized

Initialize your environment:

$ dockerized init
$ echo FROM python:3.9 > .dockerized/Dockerfile.dockerized

or use an example:

$ dockerized init --from https://github.com/benzaita/dockerized-example-python.git

Then run a command inside that environment:

$ dockerized exec python --version
...
Python 3.9.0

Or drop into an interactive shell inside the environment:

$ dockerized shell
# python --version
Python 3.9.0

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

dockerized-0.21.0.tar.gz (10.5 kB view hashes)

Uploaded Source

Built Distribution

dockerized-0.21.0-py3-none-any.whl (18.9 kB view hashes)

Uploaded Python 3

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