Giter Site home page Giter Site logo

aramean / go-podman-compose Goto Github PK

View Code? Open in Web Editor NEW
17.0 4.0 5.0 341 KB

Define and run multi-container Podman applications.

Home Page: https://aramean.github.io/go-podman-compose/

License: MIT License

Makefile 7.86% Go 91.97% Shell 0.17%
containers podman podman-compose yaml-parser golang go environment-variables tool

go-podman-compose's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m Josef Gabrielsson
  • ๐Ÿ‘€ Iโ€™m interested in go, php, c#, javascript, html, css, bash, yaml...
  • ๐ŸŒฑ Iโ€™m currently learning flutter (dart)
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on ...
  • ๐Ÿ“ซ How to reach me ...

go-podman-compose's People

Contributors

aramean avatar fiskhandlarn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

go-podman-compose's Issues

Not support volume long syntax

ENV

  • CentOS 7.9 amd64
  • podman 4.1.1 static
  • odman-compose 1.0.13

Issue

  • When specify a yaml compose file with long syntax volume claim, podman compose will quit with error:

    cannot unmarshal !map into string
    
  • Command "podman-compose up -d" did not create or start any container, and output nothing.

  • But command "podman-compose up" worked ...

Network support

Add networks support.

podman network create test
version: "3.9"

services:
  wordpress:
    image: quay.io/libpod/alpine_nginx:latest
    ports:
      - "8080:80"
    networks:
      - test
podman inspect web
podman network inspect web

Expected behavior for web container to be in test network.

Incorrect volume format

|**| Error: ${APP_ROOT_DIR:-.}/docker/memcached/memcached:/etc/sysconfig/memcached:cached: incorrect volume format, should be [host-dir:]ctr-dir[:option]

It works with podman-compose & docker compose.

---
version: '3.8'

services:
  memcached:
    image: memcached:latest
    platform: linux/amd64
    ports:
      - '58000:11211'
    volumes:
      - ${APP_ROOT_DIR:-.}/docker/memcached/memcached:/etc/sysconfig/memcached:cached

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.