Since containers are ephimeral, data will be lost if we do not save in a local volume. In this example, we are going to run a Postgres 14 container and mount the postgres data to a local volume so it can persist restarts. Next, let us explore how we can run a persistent container. Untagged: docker.io/library/debian:11-slimĭeleted: dd984c2cf05c58c61026b0bd2298b30aa87bca6f234db507396371137c891a6cįrom the above, we can confirm that the podman command uses the same syntax as docker Run a Postgres persistent container
0 Comments
Leave a Reply. |