Skip to content

Commit 26afd94

Browse files
Update podman-env documentation with local development example
Add practical example showing how to build images directly in minikube and deploy them to Kubernetes without needing a separate registry. This demonstrates the key value proposition of the Docker API compatibility approach.
1 parent 673e8bb commit 26afd94

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

site/content/en/docs/commands/podman-env.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,21 @@ docker run myapp
4242

4343
This approach provides Docker API compatibility while using Podman as the container runtime inside minikube.
4444

45+
### Building Images for Local Development
46+
47+
You can build images directly in minikube and deploy them without a separate registry:
48+
49+
```shell
50+
# Configure environment
51+
eval $(minikube podman-env)
52+
53+
# Build image directly in minikube
54+
docker build -t my-local-app .
55+
56+
# Deploy to Kubernetes without registry
57+
kubectl run my-app --image=my-local-app --image-pull-policy=Never
58+
```
59+
4560
### Options
4661

4762
```

0 commit comments

Comments
 (0)