Skip to content

container doesn't start - docker: Error response from daemon: invalid argument #52

@Kacper-Cyganik

Description

@Kacper-Cyganik

Hi!

I am trying to build ONIE on Ubuntu 24.04.3 and it fails when I try to run it.

Image builds successfully:

./due \
    --create \
    --platform linux/amd64 \
    --name onie-build-debian-10-test \
    --prompt ONIE-10 \
    --tag onie-10 \
    --use-template onie \
    --from debian:10 \
    --description 'ONIE Build Debian 10'

When trying to run it, container doesn't start with some generic error (--debug option doesn't print more info):

./due --run --run-image due-onie-build-debian-10-test:onie-10 --home-dir /build_test/onie-test/

==== Sourcing DUE files from: [ /build_test/DUE ]
====                     due: [ ./due ]
====                  libdue: [ /build_test/DUE/libdue ]
 ----------------------------------------------------------------------------
No default container specific arguments were applied.
 ----------------------------------------------------------------------------
 ------ : Start and log in to [ cafdf685810a ] with this command:      -- 
   docker run \
     --platform linux/amd64\
     --interactive\
     --tty\
     --rm\
     --volume /build_test/onie-test/:/home/my-user\
     --name my-user_due-onie-build-debian-10-test_1772034221\
     --hostname due-onie-build-debian-10-test cafdf685810a /usr/local/bin/container-create-user.sh\
     --docker-group-id 988\
     --username my-user\
     --userid 20005\
     --groupid 5011\
     --groupname my-group

 ----------------------------------------------------------------------------
 ------ Host file systems are mounted as follows: ---------------------------
 -
 -   --volume  /build_test/onie-test/:/home/my-user
 -
 ----------------------------------------------------------------------------
 -------- Type 'exit' to leave.  Docker Container Output Follows ------------

docker: Error response from daemon: invalid argument

Run 'docker run --help' for more information

I tried to build it in 3 environments:

  • Ubuntu 24.04.1, Docker storage driver: overlay2, Filesystem: ext4 | SUCCESS
  • Debian 12, Docker storage driver: overlayfs, Filesystem: ext4 | SUCCESS
  • Ubuntu 24.04.3 LTS, Docker storage driver: xfs, Filesystem: xfs | FAILURE

My assumption: incompatible combination of docker storage driver and filesystem. Did you have opportunity to test it on different docker storage drivers/filesystems?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions