Skip to content

/usr/bin/systemctl error at start container  #4

Description

@Albrod

Long time looking for an issabel docker image thanks for your work.
I'm having a hard time to get it to work though

I made a docker-compose.yml and im using a macvlan i already had

version: '2'
services:
  issabel:
    container_name: issabel
    image: technoexpress/issabel-pbx
    restart: unless-stopped
    hostname: issabel
    privileged: true
    ports:
      - 80:80
      - 25:25
      - 465:465
      - 2122:2122
      - 5038:5038
      - 5060:5060/tcp
      - 5060:5060/udp
      - 5061:5061/tcp
      - 5061:5061/udp
      - 8001:8001
      - 8003:8003
      - 8088:8088
      - 8089:8089
      - 9900:9900/tcp
      - 9900:9900/udp
      - 10000-10100:10000-10100/tcp
      - 10000-10100:10000-10100/udp
    volumes:
      - /mnt/lvm/docker_volumes/issabel/etc:/etc
      - /mnt/lvm/docker_volumes/issabel/var:/var
      - /mnt/lvm/docker_volumes/issabel/home:/home
    cap_add:
      - NET_ADMIN
    dns:
      - 8.8.8.8
      - 1.1.1.1
    networks:
      macvlan_local:
        ipv4_address: 192.168.0.240

networks:
  macvlan_local:
    name: macvlan_local
    external: true

I get this error after the container starts

Container issabel Creating
Container issabel Created
Attaching to issabel
issabel | Traceback (most recent call last):
issabel | File "/usr/bin/systemctl", line 4493, in
issabel | systemctl = Systemctl()
issabel | File "/usr/bin/systemctl", line 811, in init
issabel | self._user_getlogin = os_getlogin()
issabel | File "/usr/bin/systemctl", line 153, in os_getlogin
issabel | return pwd.getpwuid(os.geteuid()).pw_name
issabel | KeyError: 'getpwuid(): uid not found: 0'
issabel exited with code 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions