Giter Site home page Giter Site logo

podman-macos's Introduction

Deprecated

Podman Desktop has been released and can be downloaded from https://podman-desktop.io/.


Podman for macOS

"Podman for macOS" is a macOS frontend for Podman. It can be used to start and stop both the Podman Machine and its running containers. In case a Podman Machine is not yet setup, the application can provision and start it automatically. Additionally, users may set it to automatically start and bring the machine up during login.

⚠️ Heads up! Support to Apple M1 is under development.



Installing

  1. Install Podman through Homebrew:
    brew install podman
    
  2. Download a Precompiled Binary, or clone this repo and build it.
  3. Move the application to your Application's folder
  4. Launch it.

Contributing

Contributions are welcome! Feel free to send a Pull-Request, or file an issue in case you run into any problem.

TODO

  • Provide Notarized binaries
  • Add support to Apple M1

Acknowledgements

  • Thanks @ofeefo for tips regarding UI ♥️
  • Thanks @RLMD for creating the Menu Bar icon ♥️

License

The MIT License (MIT)

Copyright (c) 2021 Victor Gama

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

podman-macos's People

Contributors

heyvito avatar

Stargazers

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

Watchers

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

podman-macos's Issues

Support for catalina

Because of the use of some legacy HW components we are still at catalina, support for macos catalina would be awesome

Add MacPorts path

podman-macos cannot detect MacPorts' podman, as it's installed in /opt/local/bin.

This patch adds the MacPorts bin path:

diff --git a/Podman/Interop/PMManager.m b/Podman/Interop/PMManager.m
index 97ebd5a..b9f3964 100644
--- a/Podman/Interop/PMManager.m
+++ b/Podman/Interop/PMManager.m
@@ -106,13 +106,16 @@
         }
     }

-    // Test for homebrew default paths as a last resort...
-    NSArray *homebrewDefaultPaths = @[
+    // Test for MacPorts/Homebrew default paths as a last resort...
+    NSArray *packageManagersDefaultPaths = @[
+        // MacPorts
+        @"/opt/local/bin",
+        // Homebrew
         @"/usr/local/bin",
         @"/opt/homebrew/bin",
     ];

-    for (NSString *base in homebrewDefaultPaths) {
+    for (NSString *base in packageManagersDefaultPaths) {
         NSString *target = [base stringByAppendingPathComponent:appName];
         if ([[NSFileManager defaultManager] isExecutableFileAtPath:target]) {
             return target;

Feature request: automatically starting pods on system startup

Hi,

Thanks for this neat interface!
It already allows to start up at system startup and also to start the podman VM, which is great. I'm wondering if it would be possible to also automatically start up the pods? (Or, in a more advanced scenario, a selection of them?)

Any chance of supporting Mojave?

It looks as though you recently downgraded the deployment target to support macOS Catalina. Is there any chance you could downgrade it further to Mojave? Pretty please? :)

Pre-built binaries

This is a great initiative. Could you please provide/host pre-built binaries via the GitHub releases? Having these hooked into homebrew could be a bonus.

running on catalina after install: Error: error creating build container: short-name resolution enforced but cannot prompt without a TTY

I am running 'currentest' (as of this writing) and when I try to build I get the following error:

Error: error creating build container: short-name resolution enforced but cannot prompt without a TTY

command is:
podman build -t myfile:latest .

Dockerfile:

FROM golang:1.16.7-alpine3.14 as builder
ENV GO111MODULE=auto
ENV LDFLAGS="-s -w"
RUN apk add --no-cache \
    git \
    ca-certificates \
    upx
RUN mkdir -p /usr/src/ &&\
    cd /usr/src && \
    git clone https://www.github.com/caddyserver/xcaddy.git && \
    cd xcaddy/cmd/xcaddy && \
    go build && \
    ./xcaddy build --with github.com/caddy-dns/cloudflare --with github.com/caddy-dns/lego-deprecated && \
    upx --lzma caddy
FROM alpine:3.14
COPY --from=builder /usr/src/xcaddy/cmd/xcaddy/caddy /bin/
RUN mkdir /output
CMD cp /bin/caddy /output/caddy

Reduce menu bar icon opacity when podman is stopped

Hey, I hope this project is still being maintained and worked on. One little addition I'd like to see is the menu bar icon to be greyed out when podman is stopped. That way, I could see the current status of podman without having to open the dropdown menu each time.

Pod selection issue

If i select a running container like this in the gui

Screenshot 2021-12-16 at 10 05 54

Then right click another pod:
Screenshot 2021-12-16 at 10 07 33

The action doesn't apply to the pod I right-clicked it applies to already selected, for example, if I click 'Delete' it'll delete 'redis1' instead of 'redis2'

Screenshot 2021-12-16 at 10 09 02

Homebrew integration

Provide a way to install this tool with homebrew.
Either through a custom tap, or potentially upstreaming it into homebrew/core or homebrew/cask.

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.