install podman mac brew 1

install podman mac brew

brew install podman

Here is what the above code is Doing:
1. Create a new directory called “my-podman-project”
2. Change into that directory
3. Create a new file called “Dockerfile”
4. Open the file in the default text editor
5. Write the following text into the file:
FROM alpine:latest
RUN apk add –no-cache python3
RUN python3 -m ensurepip
RUN pip3 install –upgrade pip
RUN pip3 install flask
RUN pip3 install flask-restful
RUN pip3 install flask-jsonpify
RUN pip3 install flask-sqlalchemy
RUN pip3 install mysql-connector-python
6. Save the file
7. Build the image
8. Run the image
9. Open the browser to http://localhost:5000/

Similar Posts