[vpsFree.cz: community-list] Podman (Docker) na VPS

Wolf wolf at wolfsden.cz
Fri Jul 17 18:31:07 CEST 2020


On 2020-07-12 21:20:55 +0200, Petr Kutalek wrote:
> Když se ale snažím spustit byť jen demo `podman run --rm hello-world`,
> nedaří se mi:
> > Error:
> > container_linux.go:367: starting container process caused:
> > process_linux.go:459: container init caused:
> > process_linux.go:382: setting rlimits for ready process caused:
> > error setting rlimit type 7: invalid argument: OCI runtime error
> 
> Narazil jste někdo při zprovoznění Dockeru na něco podobného? Můžete mne
> nasměrovat k cíli?

Je tohle porad problem? Delal jsi nejakou specialni konfiguraci? Ja jsem
si ted na playground nainstaloval uplne cisty stroj, archlinux. Zapnul
jsem FUSE a TUN/TAP ve features a pak jsem pustil:



+   $ ssh root at 185.8.164.43 'set -x
+> pacman -Syyu --noconfirm podman >/dev/null
+> useradd -m test
+> echo test:100000:65535 >/etc/subuid
+> echo test:100000:65535 >/etc/subgid
+> su - test -c "podman run --rm hello-world"
+> '
The authenticity of host '185.8.164.43 (185.8.164.43)' can't be established.
ECDSA key fingerprint is SHA256:nYRbmUGn4lh3ZV8VxH/a4QzYI2uQdWdLGX1cahu58Y0.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '185.8.164.43' (ECDSA) to the list of known hosts.
+ pacman -Syyu --noconfirm podman
+ useradd -m test
+ echo test:100000:65535
+ echo test:100000:65535
+ su - test -c 'podman run --rm hello-world'
Trying to pull docker.io/library/hello-world...
Getting image source signatures
Copying blob sha256:0e03bdcc26d7a9a57ef3b6f1bf1a210cff6239bff7c8cac72435984032851689
Copying config sha256:bf756fb1ae65adf866bd8c456593cd24beb6a0a061dedf42b26a993176745f6b
Writing manifest to image destination
Storing signatures

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/



Takze to funguje. Prisel jsi na to, jak presne zreprodukovat ten tvuj problem?

W.

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.vpsfree.cz/pipermail/community-list/attachments/20200717/cb8a6889/attachment.sig>


More information about the Community-list mailing list