dipod

package module
v0.0.0-...-1e105a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2020 License: Apache-2.0 Imports: 33 Imported by: 0

README

dipod

Build Status Go Report

dipod is a Docker Interface for PODman. Why? Because it's easier to proxy than to rewrite Docker-reliant software. dipod also eases migration of workflows and CI pipelines away from Docker.

Table of Contents

Prerequisites

Build from Source

  • Clone the repo:
    git clone https://github.com/EricHripko/dipod.git
  • Go inside:
    cd dipod
  • Build: go build cmd/dipod/dipod.go
  • Start the proxy:
    ./dipod

Run Tests

  • Ensure that dipod is started
  • Run CLI tests: bats tests/cli

Documentation

Index

Constants

View Source
const APIVersion = "1.40"

APIVersion defines maximum Docker Engine API version supported by this proxy.

View Source
const DockerUnixAddress = "/var/run/docker.sock"

DockerUnixAddress is the default address of the Docker unix socket.

View Source
const MinAPIVersion = "1.12"

MinAPIVersion defines minimum Docker Engine API version supported by this proxy.

View Source
const PodmanUnixAddress = "unix:///run/podman/io.podman"

PodmanUnixAddress is the default address of the Podman unix socket.

View Source
const ProxyVersion = "0.0.1"

ProxyVersion identified the dipod version.

Variables

View Source
var ErrNotImplemented = errors.New("dipod: not implemented")

ErrNotImplemented is returned when functionality requested was not implemented yet.

Functions

func Connect

func Connect()

Connect to the Podman's varlink interface.

func ErrorMessage

func ErrorMessage(err error) string

ErrorMessage returns a human-readable error message from go/varlink error.

func Serve

func Serve()

Serve starts a Docker Engine proxy.

Types

This section is empty.

Directories

Path Synopsis
cmd
Podman Service Interface and API description.
Podman Service Interface and API description.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL