spiegel_podman/docs
Kushal f7f220d827
remove sudo
just tested with podman 1.0.0 on fedora 29
we don't need sudo

I tried this again and it seems like we DO need sudo?
Maybe I misunderstood something
but looks like I am unable to reproduce getting an IP address

also it would be nice if creating a check point
(which I belive means writing to disk) could be done without root
but I guess it depends on where on disk I am writing?

in any case, here is my new console output

```console
[kus@asus-vivobook personal]$ cd libpod/
[kus@asus-vivobook libpod]$ git checkout patch-1
Branch 'patch-1' set up to track remote branch 'patch-1' from 'origin'.
Switched to a new branch 'patch-1'
[kus@asus-vivobook libpod]$ podman run -dt -e HTTPD_VAR_RUN=/var/run/httpd -e HTTPD_MAIN_CONF_D_PATH=/etc/httpd/conf.d \
>                   -e HTTPD_MAIN_CONF_PATH=/etc/httpd/conf \
>                   -e HTTPD_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/httpd/ \
>                   registry.fedoraproject.org/f29/httpd /usr/bin/run-httpd
Trying to pull registry.fedoraproject.org/f29/httpd...Getting image source signatures
Copying blob 281a37f51f75: 85.68 MiB / 85.68 MiB [=======================] 1m47s
Copying blob ab0d48faadd2: 4.64 MiB / 4.64 MiB [=========================] 1m47s
Copying blob e1bf69dce18d: 49.77 MiB / 49.77 MiB [=======================] 1m47s
Copying config 532763348c4e: 6.66 KiB / 6.66 KiB [==========================] 0s
Writing manifest to image destination
Storing signatures
78917177dbf7634993fdcc44e0bc90c9422482b9a9e757c85c14dfd1ee09c777
[kus@asus-vivobook libpod]$ podman ps
CONTAINER ID  IMAGE                                        COMMAND               CREATED        STATUS            PORTS  NAMES
78917177dbf7  registry.fedoraproject.org/f29/httpd:latest  container-entrypo...  4 seconds ago  Up 3 seconds ago         nifty_lewin
[kus@asus-vivobook libpod]$ podman inspect -l | grep IPAddress\"
            "IPAddress": "",
[kus@asus-vivobook libpod]$ sudo podman inspect -l | grep IPAddress\"
[sudo] password for kus:
no such container
[kus@asus-vivobook libpod]$ podman logs --latest
=> sourcing 10-set-mpm.sh ...
=> sourcing 20-copy-config.sh ...
=> sourcing 40-ssl-certs.sh ...
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.0.2.100. Set the 'ServerName' directive globally to suppress this message
[Tue Jan 22 12:59:38.887673 2019] [ssl:warn] [pid 1:tid 140100965338496] AH01909: 10.0.2.100:8443:0 server certificate does NOT include an ID which matches the server name
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.0.2.100. Set the 'ServerName' directive globally to suppress this message
[Tue Jan 22 12:59:38.998169 2019] [ssl:warn] [pid 1:tid 140100965338496] AH01909: 10.0.2.100:8443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 22 12:59:38.998876 2019] [lbmethod_heartbeat:notice] [pid 1:tid 140100965338496] AH02282: No slotmem from mod_heartmonitor
[Tue Jan 22 12:59:39.001562 2019] [cgid:error] [pid 28:tid 140100965338496] (13)Permission denied: AH01243: Couldn't bind unix domain socket /run/httpd/cgisock.1
[Tue Jan 22 12:59:39.006051 2019] [mpm_event:notice] [pid 1:tid 140100965338496] AH00489: Apache/2.4.37 (Fedora) OpenSSL/1.1.1-pre9 configured -- resuming normal operations
[Tue Jan 22 12:59:39.006164 2019] [core:notice] [pid 1:tid 140100965338496] AH00094: Command line: 'httpd -D FOREGROUND'
[Tue Jan 22 12:59:39.006445 2019] [cgid:crit] [pid 1:tid 140100965338496] AH01238: cgid daemon failed to initialize
[kus@asus-vivobook libpod]$ podman top 78917177dbf7634993fdcc44e0bc90c9422482b9a9e757c85c14dfd1ee09c777
USER      PID   PPID   %CPU    ELAPSED           TTY     TIME   COMMAND
default   1     0      0.000   2m10.968144627s   pts/0   0s     httpd -D FOREGROUND
default   24    1      0.000   2m9.968688975s    pts/0   0s     /usr/bin/coreutils --coreutils-prog-shebang=cat /usr/bin/cat
default   25    1      0.000   2m9.968784295s    pts/0   0s     /usr/bin/coreutils --coreutils-prog-shebang=cat /usr/bin/cat
default   26    1      0.000   2m9.968880829s    pts/0   0s     /usr/bin/coreutils --coreutils-prog-shebang=cat /usr/bin/cat
default   27    1      0.000   2m9.968997468s    pts/0   0s     /usr/bin/coreutils --coreutils-prog-shebang=cat /usr/bin/cat
default   29    1      0.000   2m9.969134191s    pts/0   0s     httpd -D FOREGROUND
default   38    1      0.000   2m9.969239549s    pts/0   0s     httpd -D FOREGROUND
default   72    1      0.000   2m9.969344456s    pts/0   0s     httpd -D FOREGROUND
[kus@asus-vivobook libpod]$ podman container checkpoint 78917177dbf7634993fdcc44e0bc90c9422482b9a9e757c85c14dfd1ee09c777
checkpointing a container requires root
[kus@asus-vivobook libpod]$ podman stop --latest
78917177dbf7634993fdcc44e0bc90c9422482b9a9e757c85c14dfd1ee09c777
[kus@asus-vivobook libpod]$ podman ps -a
CONTAINER ID  IMAGE                                        COMMAND               CREATED        STATUS                    PORTS  NAMES
78917177dbf7  registry.fedoraproject.org/f29/httpd:latest  container-entrypo...  3 minutes ago  Exited (0) 9 seconds ago         nifty_lewin
[kus@asus-vivobook libpod]$ podman rm --latest
78917177dbf7634993fdcc44e0bc90c9422482b9a9e757c85c14dfd1ee09c777
```

original:
```console
[kus@mcny ~]$ podman run -dt -e HTTPD_VAR_RUN=/var/run/httpd -e HTTPD_MAIN_CONF_D_PATH=/etc/httpd/conf.d \
>                   -e HTTPD_MAIN_CONF_PATH=/etc/httpd/conf \
>                   -e HTTPD_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/httpd/ \
>                   registry.fedoraproject.org/f27/httpd /usr/bin/run-httpd
Trying to pull registry.fedoraproject.org/f27/httpd...Getting image source signatures
Copying blob ff3dab903f92: 80.73 MiB / 80.73 MiB [=========================] 14s
Copying blob 9347d6e9d864: 7.30 MiB / 7.30 MiB [===========================] 14s
Copying blob 2fc5c44251d4: 44.82 MiB / 44.82 MiB [=========================] 14s
Copying config 18f01f6f77ef: 6.55 KiB / 6.55 KiB [==========================] 0s
Writing manifest to image destination
Storing signatures
d0362571c3850159315778700a63a305296150177578a9339cca0d9c86ed97f1
[kus@mcny ~]$ podman ps
CONTAINER ID  IMAGE                                        COMMAND               CREATED         STATUS             PORTS  NAMES
d0362571c385  registry.fedoraproject.org/f27/httpd:latest  container-entrypo...  36 seconds ago  Up 36 seconds ago         happy_babbage
[kus@mcny ~]$
```

Signed-off-by: Kushal <kushaldeveloper@gmail.com>
2019-01-22 08:04:25 -05:00
..
links Allow alias for list, ls, ps to work 2018-12-23 09:38:57 -05:00
tutorials remove sudo 2019-01-22 08:04:25 -05:00
varlink Fix varlink remove image force 2018-05-11 16:05:10 +00:00
containers-mounts.conf.5.md docs: consistent headings 2018-08-30 16:51:56 +00:00
dckrman.sh Add support for mimicing docker CLI 2018-01-18 07:01:48 -05:00
generate.go Rename varlink socket and interface 2018-08-06 14:49:11 +00:00
libpod.conf.5.md hooks: Add pre-create hooks for runtime-config manipulation 2019-01-08 21:06:17 -08:00
play.png Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
podman-attach.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-build.1.md Add troubleshooting for sparse files 2018-12-30 08:08:13 -05:00
podman-commit.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-container-checkpoint.1.md Add '--tcp-established' to checkpoint/restore man page 2018-11-28 08:00:38 +01:00
podman-container-cleanup.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-container-exists.1.md add podman container|image exists 2018-11-26 09:19:39 -06:00
podman-container-prune.1.md Add ability to prune containers and images 2018-12-05 19:57:54 -06:00
podman-container-refresh.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-container-restore.1.md Add '--tcp-established' to checkpoint/restore man page 2018-11-28 08:00:38 +01:00
podman-container-runlabel.1.md Minimally update for the DockerInsecureSkipTLSVerify type change 2018-12-06 23:34:59 +01:00
podman-container.1.md Allow alias for list, ls, ps to work 2018-12-23 09:38:57 -05:00
podman-cp.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-create.1.md List the long variant of each option before its shorter counterpart 2019-01-09 11:14:06 +01:00
podman-diff.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-exec.1.md Add a --workdir option to 'podman exec' 2019-01-08 17:42:37 +01:00
podman-export.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-generate-kube.1.md Add Play 2018-12-19 14:20:55 -06:00
podman-generate.1.md generate kube 2018-12-04 08:03:49 -06:00
podman-history.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-image-exists.1.md add podman container|image exists 2018-11-26 09:19:39 -06:00
podman-image-prune.1.md Add ability to prune containers and images 2018-12-05 19:57:54 -06:00
podman-image-sign.1.md Fix up image sign and trust 2019-01-09 15:19:46 -05:00
podman-image-trust.1.md Support podman image trust command 2018-12-19 13:36:11 -05:00
podman-image.1.md [WIP]Support podman image sign 2019-01-08 09:53:18 -05:00
podman-images.1.md Add space between num & unit in images output 2018-11-12 14:06:31 -05:00
podman-import.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-info.1.md Add the configuration file used to setup storage to podman info 2019-01-07 10:02:26 -05:00
podman-inspect.1.md Switch all referencs to image.ContainerConfig to image.Config 2018-12-21 15:59:34 -05:00
podman-kill.1.md Make kill, pause, and unpause parallel. 2018-11-01 14:23:55 -05:00
podman-load.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-login.1.md add --get-login command to podman-login. 2018-12-17 11:20:40 -05:00
podman-logout.1.md Support auth file environment variable & add change to man pages 2018-10-12 10:05:14 -04:00
podman-logs.1.md docs: make HISTORY consistent 2018-08-30 16:51:56 +00:00
podman-mount.1.md Add --latest and --all to podman mount/umount 2019-01-16 10:05:41 -05:00
podman-pause.1.md Make kill, pause, and unpause parallel. 2018-11-01 14:23:55 -05:00
podman-play-kube.1.md Add Play 2018-12-19 14:20:55 -06:00
podman-play.1.md Add Play 2018-12-19 14:20:55 -06:00
podman-pod-create.1.md Allow users to expose ports from the pod to the host 2018-11-20 09:49:34 -06:00
podman-pod-exists.1.md podman pod exists 2018-12-03 12:00:18 -06:00
podman-pod-inspect.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-pod-kill.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-pod-pause.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-pod-ps.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-pod-restart.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-pod-rm.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-pod-start.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-pod-stop.1.md add timeout to pod stop 2018-12-07 10:27:41 -06:00
podman-pod-top.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-pod-unpause.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-pod.1.md docs: consistent headings 2018-08-30 16:51:56 +00:00
podman-port.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-ps.1.md Add --sync flag to podman ps 2018-12-06 09:10:45 -05:00
podman-pull.1.md Minimally update for the DockerInsecureSkipTLSVerify type change 2018-12-06 23:34:59 +01:00
podman-push.1.md Minimally update for the DockerInsecureSkipTLSVerify type change 2018-12-06 23:34:59 +01:00
podman-restart.1.md Make restart parallel and add --all 2018-11-01 13:14:12 -05:00
podman-rm.1.md Add --latest and --all to podman mount/umount 2019-01-16 10:05:41 -05:00
podman-rmi.1.md Add ability to prune containers and images 2018-12-05 19:57:54 -06:00
podman-run.1.md List the long variant of each option before its shorter counterpart 2019-01-09 11:14:06 +01:00
podman-save.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-search.1.md Minimally update for the DockerInsecureSkipTLSVerify type change 2018-12-06 23:34:59 +01:00
podman-start.1.md Default --sig-proxy to true for 'podman start --attach' 2019-01-08 16:34:09 +01:00
podman-stats.1.md docs: Follow man-pages(7) suggestions for SYNOPSIS 2018-07-04 09:40:37 +00:00
podman-stop.1.md Add --all flag to podman kill 2018-09-30 07:48:41 +02:00
podman-tag.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-top.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-umount.1.md Add --latest and --all to podman mount/umount 2019-01-16 10:05:41 -05:00
podman-unpause.1.md Make kill, pause, and unpause parallel. 2018-11-01 14:23:55 -05:00
podman-varlink.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-version.1.md implement --format for version command 2018-11-25 12:42:05 +01:00
podman-volume-create.1.md Add "podman volume" command 2018-12-06 10:17:16 +00:00
podman-volume-inspect.1.md Add "podman volume" command 2018-12-06 10:17:16 +00:00
podman-volume-ls.1.md Add "podman volume" command 2018-12-06 10:17:16 +00:00
podman-volume-prune.1.md Add "podman volume" command 2018-12-06 10:17:16 +00:00
podman-volume-rm.1.md Add "podman volume" command 2018-12-06 10:17:16 +00:00
podman-volume.1.md Add "podman volume" command 2018-12-06 10:17:16 +00:00
podman-wait.1.md Add --interval flag to podman wait 2018-09-13 10:11:00 -04:00
podman.1.md oci: allow to define multiple OCI runtimes 2019-01-14 10:22:18 +01:00