Skip to content

Commit

Permalink
install podman and podman compose, remove failure note
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gilber committed Oct 27, 2023
1 parent f979498 commit 858abe9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-outside-of-docker
{
"name": "Docker outside of Docker",
"name": "Development Environment for demoapp-backend",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
// "image": "mcr.microsoft.com/devcontainers/base:bullseye",

Expand Down
8 changes: 8 additions & 0 deletions .devcontainer/postCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ brew install mysql

# No available feature for installing Container Structure Test https://github.com/GoogleContainerTools/container-structure-test
brew install container-structure-test

# Installation of Podman (via Homebrew) feature fails.
# Install Podman after container creation.
# Failed feature: ghcr.io/devcontainers-contrib/features/podman-homebrew:1
brew install podman

# No available feature for installing Podman Compose: https://github.com/containers/podman-compose
pip3 install podman-compose
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ docker build -f Containerfile.multistage -t demoapp-backend .
### Run Application using Java
```sh
java -jar target/demoapp-backend-0.0.1-SNAPSHOT.jar
# Note: Application startup will fail due to the absence of mysql database
```
### Run Application using Docker Compose
[Compose](https://docs.docker.com/compose/) is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application's services. Then, with a single command, you create and start all the services from your configuration.
Expand Down

0 comments on commit 858abe9

Please sign in to comment.