Easily run commands inside your projects' Docker containers
Project description
dexec (Docker exec)
dexec allows you to easily run commands inside project-based Docker containers.
Installation
python3 -m pip install dexec
Usage
Simply create a .dexec file like this:
[dexec]
container=my_container
path=/data
Where container is the name of the container, and path the path inside the
container of the directory in which the .dexec file is placed.
Now, just run:
dexec ls -l
And you'll see the directory listing from inside the container. Other commands can be executed just the same, and they can be relative to the path:
dexec ./bin/my-script
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dexec-0.1.2.tar.gz.
File metadata
- Download URL: dexec-0.1.2.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
073841852db82a5eb5601f1026655df3f80b606eed274efae9194ac3fb45d064
|
|
| MD5 |
8a028a704d73983632107e3b9bdae6c9
|
|
| BLAKE2b-256 |
efb35dd612a4de7df1d1576a62d08f6219b83cb4e741e4bed2c1ef0f69ab3203
|
File details
Details for the file dexec-0.1.2-py3-none-any.whl.
File metadata
- Download URL: dexec-0.1.2-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd54b01447a9234ed01de05befc95b5f2c9ff0a2f716d65a7ca74ac37858870b
|
|
| MD5 |
4a10b939a21dbe7c7e68e27c0aafde11
|
|
| BLAKE2b-256 |
7e13ea29d5b205af43c9eae86b351063fc54438a5a7f20d268df361385b9a266
|