Podman Examples
podman pull imagename
podman run imagename
Example:
podman pull hello-world
podman run hello-world
podman container ls
podman container ls -a
podman image ls
Let's try to launch Neo4J
Method 1
docker pull neo4j
docker run neo4jMethod 2
Mac/Linux
Windows
Browser
http://localhost:7474 user: neo4j
pwd: neo4j
when it prompts change new pwd
To log into the Container
To view the Log messages
Custom Image
Create a file "Dockerfile"
Build an image
Run the container using above image
Open browser and navigate to http://localhost:8080
Python Example
main.py
Dockerfile
requirements.txt
Build (default it uses Dockerfile, but can customized with -f parameter)
Run
Last updated