Description
Add documentation for using the devcontainer with Podman in three different ways. Currently, the repository only has the .devcontainer/devcontainer.json file, but users may want to use Podman directly instead of VS Code/Cursor's built-in devcontainer support.
Tasks
Option 1: Direct Podman CLI Usage
Example command:
podman run -it --rm \
-v "${PWD}:/workspace:Z" \
-w /workspace \
ghcr.io/morepet/containers/dev/typst:1.3-dev \
/bin/bash
# Then manually run:
/workspace/.devcontainer/post-create.sh
/workspace/.devcontainer/post-attach.sh
Option 2: Podman Compose
Proposed compose file:
version: '3'
services:
dev:
image: ghcr.io/morepet/containers/dev/typst:1.3-dev
volumes:
- .:/workspace:cached
working_dir: /workspace
command: /bin/bash
stdin_open: true
tty: true
Option 3: Dev Container CLI
Success Criteria
- All three options are documented in README
- Users can choose the option that best fits their workflow
- Instructions include proper script execution order
- SELinux considerations are mentioned for Linux users
Description
Add documentation for using the devcontainer with Podman in three different ways. Currently, the repository only has the
.devcontainer/devcontainer.jsonfile, but users may want to use Podman directly instead of VS Code/Cursor's built-in devcontainer support.Tasks
Option 1: Direct Podman CLI Usage
post-create.sh,post-attach.sh):Zflag for Linux systems)Example command:
Option 2: Podman Compose
podman-compose.ymlfile in repository rootpodman-compose up -dProposed compose file:
Option 3: Dev Container CLI
@devcontainers/clinpm install -g @devcontainers/clidevcontainer up --workspace-folder . --docker-path podmanSuccess Criteria