Skip to content

Commit

Permalink
Add some documentation describing podman service
Browse files Browse the repository at this point in the history
  • Loading branch information
afbjorklund committed Jan 21, 2020
1 parent 70d3b7f commit 5e92ed0
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions site/content/en/docs/Tasks/podman_service.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: "Using the Podman service"
linkTitle: "Using the Podman service"
weight: 6
date: 2020-01-20
description: >
How to access the Podman service within minikube
---

## Prerequisites

You should be using minikube with the container runtime set to CRI-O. It uses the same storage as Podman.

## Method 1: Without minikube registry addon

When using a single VM of Kubernetes it's really handy to reuse the Podman service inside the VM; as this means you don't have to build on your host machine and push the image into a container registry - you can just build inside the same container storage as minikube which speeds up local experiments.

To be able to work with the podman client on your mac/linux host use the podman-env command in your shell:

```shell
eval $(minikube podman-env)
```

You should now be able to use podman on the command line on your host mac/linux machine talking to the podman service inside the minikube VM:

```shell
podman-remote help
```

Remember to turn off the _imagePullPolicy:Always_, as otherwise Kubernetes won't use images you built locally.

## Related Documentation

- [docker_registry.md](Using the Docker registry)

0 comments on commit 5e92ed0

Please sign in to comment.