No project description provided
Project description
DevPod: Rootless, FOSS .DevContainer Tooling
A support framework for using .devcontainer
on Linux desktops. Let's start
with Buildah + Podman + Builder, but the project is open to contributions for
other IDE integrations.
Basic Setup and Usage
Setup
These instructions should work out of the box on Fedora Silverblue 33+.
-
Install GNOME Builder (example uses Flatpak, but a normal package works, too):
flatpak install flathub org.gnome.Builder
-
Install this utility (choosing an alternative to
pip
likepipx
if you like):pip install devpod
Usage
-
In the CLI, change to the parent directory of
.devcontainer
for your project. -
Run the utility (which will delete any container with the same name as your project directory):
devpod launch
-
The
launch
command should list any open ports at the end of the process, but you can also list them using Podman directly:podman port --latest
-
Connect using a Web browser. For example, if the output of
port
is80/tcp -> 0.0.0.0:12345
, then open a browser tohttp://localhost:12345/
.
Developing DevPod Itself
Installing the CLI Tool from Local Builds
These instructions have been tested on Fedora Silverblue 33 but are probably adaptable to other setups.
-
Install Python package tooling (using a Toolbox if desired):
sudo dnf install poetry pipx
-
Clone the DevPod code and make it your working directory.
-
Build and (re)install the utility for global use:
rm -rf dist/ && poetry build && pipx install --force dist/devpod-*.tar.gz
-
The
devpod
command should now be globally available to your user, even outside of any Toolbox.
Resources
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
File details
Details for the file devpod-0.2.0.tar.gz
.
File metadata
- Download URL: devpod-0.2.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.9.2 Linux/5.11.7-200.fc33.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b9de9efad412da1afc69dc9bce35c4c1f53b6b5d994ae99fd97cd753423dcd7 |
|
MD5 | 920117c1bf47be4a85069a9a8b8aeece |
|
BLAKE2b-256 | 78362c4c0afc15115e296dd3abddf0d76ac9bb51dbbfade58cd82c506a1ffb0a |
Provenance
File details
Details for the file devpod-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: devpod-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.9.2 Linux/5.11.7-200.fc33.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa49508b62cc4b3e4ef9bb5b9ac2153b7033993b3662cb105b8e0304e3645529 |
|
MD5 | 35ecbfae0ce6291e7b944e882a93ce68 |
|
BLAKE2b-256 | 93bfde193f0800672567954095dec1f76589a3f3e14858dc25da2a9d61d67c5b |