We’re honored to announce that Podman Desktop has been recognized with the prestigious 2024 DEVIES Award in the category of Containers & Kubernetes. This award is a testimony to the effectiveness of the Podman Desktop team and greater open-source community's efforts to help developers. Podman Desktop increases developer container workflow efficiency as well as provides an easy transition of applications from containers to Kubernetes, the leading open-source container orchestration platform.
“While Podman Desktop only went into general availability last year, the community response has been very impressive and incredibly gratifying. We are extremely proud to receive this outstanding recognition which celebrates passion, commitment and innovation for shaping the future of container development backed by the vibrant open-source standards that Red Hat supports. ” said Stévan Le Meur, Product Manager on the Podman Desktop team.
The DEVIES Awards, presented by DeveloperWeek, recognize the most innovative and impactful tools, platforms, and technologies in the software development community. Podman Desktop's win as the best innovation in Containers & Kubernetes highlights its significant impact on the industry and its role in revolutionizing the way developers build, ship, and run their applications. DEVIES Award winners are selected from hundreds of nominees by the independent, industry-leading DevNetwork Advisory Board.
We’re excited to be receiving this award on stage at DeveloperWeek 2024, happening on February 21-23, 2024, in Oakland, CA and February 27-29, 2024 (Virtually). In addition, Red Hat developer advocate Cedric Clyburn will be presenting a session on Podman Desktop, titled “Going from Containers, to Pods, to Kubernetes – Help for Your Developer Environments!”, with a full presentation on Podman, a demonstration of the Podman Desktop experience, and a multi-tier application going from containers, to pods, to finally Kubernetes!
Finally, it would be seal-y to not include and acknowledge that this award was earned by the entire Podman Desktop community of contributors! We also thank the DevNetwork Advisory Board and DeveloperWeek for this honorable award, and for the opportunity to share Podman Desktop's innovations with the greater developer community.
Compose is a specification for defining and running multi-container Docker applications. With pose, you use a YAML file to configure your application’s services, networks, and volumes. This allows you to capture in a single file the entire configuration necessary to run a set of interconnected containers as an application. For example, if you have an application that requires a web server, a database, and a caching service, you can define these components and their relationships in your Compose file.
If you do not have Compose installed, let's go through the onboarding process to install the Compose implementation binary:
Get to Resources under Settings > Resources.
Click Setup under Compose (it will appear if it has not been installed yet).
Go through the onboarding process.
Confirm that you are able to run podman compose:
podman compose Run compose workloads via an external provider such as docker-compose or podman-compose Description: This command is a thin wrapper around an external compose provider such as docker-compose or podman-compose. This means that podman compose is executing another tool that implements the compose functionality but sets up the environment in a way to let the compose provider communicate transparently with the local Podman socket. The specified options as well the command and argument are passed directly to the compose provider. ...
We will use git clone so we can build the Go binary web application:
git clone https://github.com/redhat-developer/podman-desktop-demo cd podman-desktop-demo/guestbook-compose
Run podman compose up -d to start the application:
podman compose up -d >>>> Executing external compose provider "/usr/local/bin/docker-compose". Please refer to the documentation for details. <<<< [+] Running 3/3 ✔ Container redis-replica Started 0.0s ✔ Container web Started 0.0s ✔ Container redis-leader Started 0.0s
Using Podman Desktop, you can also access the container's terminal directly from the GUI and modify the database.
Click "Open Terminal" to access the redis-leader terminal:
Modify the database as if you are doing database administration:
Run redis-cli within the container to access the Redis database.
Type LPUSH guestbook "Hello World!" and you will see your web application update in real-time.
Type DEL guestbook and you will see that your database drops the guestbook key and clears the database.
Changes will reflect in real-time on the guestbook.
You can further modify the database and see the changes propagate to the Redis replicas.
For example, view the logs of the redis-replica, and you will notice that there are periodic database synchronizations as well as reads to the database:
A quick overview of how the architecture works in this multi-container scenario:
Within the Guestbook application, it looks for a database with the names redis-leader and redis-replica on port 6379.
Because it is a Compose application, the containers are connected on the same network. This means that a neighboring container can be network-accessible simply by its container name.
There is a set of environment variables that the web application can modify in the Compose application:
REDIS_LEADER: The default is redis-leader.
REDIS_REPLICAS: The default is redis-replica. Can be comma-separated, such as redis-replica-1,redis-replica-2.