Sign inSign up

otaviof/podman-sh

By otaviof

•Updated over 6 years ago

Image
0

973

otaviof/podman-sh repository overview

Docker-Cloud Build Status ⁠

⁠podman-sh

Composes a development workspace with podman, buildah and Golang, with scripting around to make it easy to spin it up against a project directory. This container can also be used in .devcontainer.json⁠ for VScode remote development.

⁠Usage

Simply run podman-sh in a given directory:

podman-sh

And use --no-docker to disable Docker socket being shared with the container:

podman-sh --no-docker

It will start a shell in the base container, mounting current directory on containers /src. Additionally, the following local directories are mounted as well:

Mount PointLocal DirectoryDescription
~/.bash.d~/.podman/bash.dShell history, and settings
/var/lib/containers~/.podman/storagePodman storage directory
/var/run/containers~/.podman/runtimePodman runtime storage directory
/var/run/docker.sock/var/run/docker.sockOptional, Docker socket

⁠Building

In order to build the container run:

make build

To install podman-sh in /usr/local/bin, run:

make install

Tag summary

Content type

Image

Digest

Size

443.4 MB

Last updated

over 6 years ago

docker pull otaviof/podman-sh