Containerfile usage: Revision history

From wikinotes

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

10 April 2023

  • curprev 13:3513:35, 10 April 2023Will talk contribs 890 bytes +64 No edit summary
  • curprev 13:3213:32, 10 April 2023Will talk contribs 826 bytes +166 No edit summary
  • curprev 13:2913:29, 10 April 2023Will talk contribs 660 bytes +660 Created page with "= Basics = <blockquote> <syntaxhighlight lang="bash"> # build image from Containerfile # `sudo podman images` podman build -f path/Containerfile -t ${IMAGE_NAME} # build container form image podman run \ --name ${CONTAINER_NAME} `# podman ps` \ -v /home/progs:/progs `# mount /home/progs in container as /progs` \ -p 80:8080 `# expose container port 80 as 8080 on host` \ -ti ${IMAGE_NAME} /bin/bash # use container sudo podman star..."