-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker.htm
More file actions
5 lines (5 loc) · 5.44 KB
/
docker.htm
File metadata and controls
5 lines (5 loc) · 5.44 KB
1
2
3
4
5
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>🐳Container images</title><meta name="description" content="Download You need to download image from GHCR by one of these commands:docker pull ghcr.io/helpviewer/helpviewer:latest podman pull ghcr.io/helpviewer/helpviewe"><link rel="icon" type="image/png" href="favicon.png"><meta property="og:title" content="🐳Container images"><meta property="og:description" content="Download You need to download image from GHCR by one of these commands:docker pull ghcr.io/helpviewer/helpviewer:latest podman pull ghcr.io/helpviewer/helpviewe"><meta property="og:type" content="website"><meta property="og:image" content="favicon.png"><meta name="robots" content="index,follow"><link rel="stylesheet" href="src/i-formsupport-css.css" type="text/css"><link rel="stylesheet" href="src/mainCSS.css" type="text/css"><link rel="stylesheet" href="src/mainCSSPlus.css" type="text/css"><link rel="stylesheet" href="src/addition-puiWatermark-toc.css" type="text/css"><link rel="stylesheet" href="src/overridePlusMinusVars.css" type="text/css"><link rel="stylesheet" href="src/admonitions.css.css" type="text/css"><link rel="stylesheet" href="src/prism/prism.css.css" type="text/css"><link rel="stylesheet" href="src/prism/override.css.css" type="text/css"><link rel="stylesheet" href="src/TPL-HTML-fixes.css" type="text/css"><link rel="stylesheet" href="src/custom.css" type="text/css"><meta name="keywords" content="container, docker, image, podman"></head><body class="inStandard"><div class="container" id="container"><div class="main" id="main"><div class="header" id="header" role="banner"><h1 id="mtitle">🐳Container images</h1><div id="header-toolbar" class="toolbar" role="toolbar"><a id="printBtn" title="Print page" aria-label="Print page" href="javascript:window.print();">🖨️</a><a id="nav-left" title="Previous topic" aria-label="Previous topic" href="trouble.htm">⬅</a><a id="nav-right" title="Next topic" aria-label="Next topic" href="_viewRepo.htm">➡</a><a id="downP-TopicTree" title="Table of Contents" aria-label="Table of Contents" href="toc.htm">📖</a><a id="downP-Glossary" title="Glossary" aria-label="Glossary" href="keywordList/index.htm">📇</a><a id="downP-Fulltext" title="Fulltext search" aria-label="Fulltext search" href="fulltextList/index.htm">🔎</a><a id="downP-Home" title="Home" aria-label="Home" href="index.htm">🏡</a></div></div><div class="content" id="content" role="main" aria-live="polite"><h2 id="h-2-7">Download<a href="#h-2-7" class="anchor-link"> #</a></h2><p>You need to download image from <a href="https://github.com/HelpViewer/HelpViewer/pkgs/container/helpviewer" title="Container images">GHCR</a> by one of these commands:</p><div class="code-toolbar"><pre><code class="language-bash"><span class="token function">docker</span> pull ghcr.io/helpviewer/helpviewer:latest
<span class="token function">podman</span> pull ghcr.io/helpviewer/helpviewer:latest
<span aria-hidden="true" class="line-numbers-rows"><span style="height: 24px;"></span><span style="height: 24px;"></span></span><span class="line-numbers-sizer" style="display: none;"></span></code></pre><div class="toolbar"><div class="toolbar-item"><span>Bash</span></div><div class="toolbar-item"><button class="copy-to-clipboard-button" type="button" data-copy-state="copy"><span>Copy</span></button></div></div></div><p>Next chapters will continue with Podman.</p><h2 id="h-2-8">Description<a href="#h-2-8" class="anchor-link"> #</a></h2><ul><li>Base : scratch (musl, busybox taken from alpine)</li><li>Web service: (busybox) httpd</li></ul><h2 id="h-2-9">Quick run<a href="#h-2-9" class="anchor-link"> #</a></h2><div class="code-toolbar"><pre><code class="language-bash"><span class="token function">podman</span> run <span class="token parameter variable">-p</span> <span class="token number">8000</span>:80 helpviewer
<span aria-hidden="true" class="line-numbers-rows"><span style="height: 24px;"></span></span><span class="line-numbers-sizer" style="display: none;"></span></code></pre><div class="toolbar"><div class="toolbar-item"><span>Bash</span></div><div class="toolbar-item"><button class="copy-to-clipboard-button" type="button" data-copy-state="copy"><span>Copy</span></button></div></div></div><ul><li>You will see new container data from browser on localhost:8000.</li></ul><h2 id="h-2-10">Run with injected help files<a href="#h-2-10" class="anchor-link"> #</a></h2><div class="code-toolbar"><pre><code class="language-bash"><span class="token function">podman</span> run <span class="token parameter variable">-v</span> <span class="token string">"./my/help/files:/www/hlp:ro"</span> <span class="token parameter variable">-p</span> <span class="token number">8000</span>:80 helpviewer
<span aria-hidden="true" class="line-numbers-rows"><span style="height: 24px;"></span></span><span class="line-numbers-sizer" style="display: none;"></span></code></pre><div class="toolbar"><div class="toolbar-item"><span>Bash</span></div><div class="toolbar-item"><button class="copy-to-clipboard-button" type="button" data-copy-state="copy"><span>Copy</span></button></div></div></div><ul><li>You will see new container data from browser on localhost:8000.</li><li>hlp/Help-{current viewer language}.zip will be 1st file used by viewer automatically</li><li>This file will be read from ./my/help/files/Help-{current viewer language}.zip on your physical server disc</li></ul><p></p></div></div></div></body></html>