container does not start because of systemd support for managing cgroups is not available
#1534
Closed
Description
opened on Sep 24, 2018
BUG REPORT:
[//]: # Uncomment only one, leave it on its own line:
[//]: kind bug
[//]: # kind feature
Description
When I run podman on a fresh installed ubuntu 18 then I get the following error.
Command:
podman run -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
Error:
container create failed: systemd cgroup flag passed, but systemd support for managing cgroups is not available
: internal libpod error
Steps to reproduce the issue:
-
Setup droplet
doctl compute droplet create secrets --region fra1 --image ubuntu-18-04-x64 --ssh-keys 7008657,13468054 --size s-4vcpu-8gb --wait --enable-private-networking
-
Build Podman as desribed in readme
-
run the command
podman run -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
Describe the results you received:
container create failed: systemd cgroup flag passed, but systemd support for managing cgroups is not available
: internal libpod error
Describe the results you expected:
I expect a running container
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version
:
Version: 0.9.4-dev
Go Version: go1.10.1
OS/Arch: linux/amd64
Output of podman info
:
podman info
host:
Conmon:
package: Unknown
path: /usr/libexec/podman/conmon
version: 'conmon version 1.12.0-dev, commit: 3b00e355d5247f7235b9612799554f4535a1e547'
MemFree: 5373353984
MemTotal: 8364032000
OCIRuntime:
package: Unknown
path: /usr/bin/runc
version: |-
runc version 1.0.0-rc5+dev
commit: 00dc70017d222b178a002ed30e9321b12647af2d
spec: 1.0.0
SwapFree: 0
SwapTotal: 0
arch: amd64
cpus: 4
hostname: secrets
kernel: 4.15.0-30-generic
os: linux
uptime: 1h 55m 23.39s (Approximately 0.04 days)
insecure registries:
registries: []
registries:
registries:
- docker.io
- registry.fedoraproject.org
- registry.access.redhat.com
store:
ContainerStore:
number: 7
GraphDriverName: overlay
GraphOptions: []
GraphRoot: /var/lib/containers/storage
GraphStatus:
Backing Filesystem: extfs
Native Overlay Diff: "true"
Supports d_type: "true"
ImageStore:
number: 1
RunRoot: /var/run/containers/storage
Additional environment details (AWS, VirtualBox, physical, etc.):
- Digital Ocean droplet
- lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
Activity