Skip to content

Podman on FreeBSD with OCI Images running Django #2

@jauntyd

Description

@jauntyd

This turned into a problem report AND a how-to! :)

Current issues on podman/ocijail and FreeBSD (ARM):

Current setup is:

ARM
Podman 5.5.2
ghcr.io FreeBSD Runtime OCI image

The goal is to have a dpaste instance running on one of our hosts (ARM), while running inside of a podman guest. Currently we have a podman instance, named "paste", running with Django installed.

Initial podman creation used the following command:

sudo podman run -dt --network=host --name=<container name> <image id>

This will create a container, detach it and allow for networking.

Attaching to our newly created pod is as easy as:
sudo podman attach <container name>

If you're wondering how to detach, after attaching....
Control-p followed by Control-q

We now are able to attach, detach, reattach our container, which should have networking. Let's give this a try:
sudo pkg install nano

After nano is installed we are ready to install Django:
sudo pkg install py311-django51-5.1.11

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions