

Selecting previously unselected package docker-ce. Selecting previously unselected package docker-ce-cli. 83827 files and directories currently installed.) Selecting previously unselected package containerd.io. The following NEW packages will be installed:Ġ upgraded, 3 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 242 MB of additional disk space will be used. The following additional packages will be installed:Īufs-tools cgroupfs-mount | cgroup-lite git Software-properties-common is already the newest version (0.96.20.2-1). Gnupg2 is already the newest version (2.1.18-8~deb9u4). ERR Execution installer has failed with exit code 1, stdout: Reading package lists.ĭmsetup is already the newest version (2:1.02.137-2).Ġ upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Īpt-transport-https is already the newest version (1.4.9).Ĭa-certificates is already the newest version (20161130+nmu1+deb9u1). ERR Execution of /opt/psa/admin/plib/modules/docker/scripts/post-install.php failed with exit code 1 and the output: Works well and install all the packages contained in the /debdir directory.ERROR: Failed to install or upgrade the extension 'Docker' (package: docker): The install.sh (copied at the root directory) simply contains: #!/bin/bashĪnd the following docker build -t debiantest. This is my Dockerfile for example purpose: FROM debian:latest Check the best practices for writing Dockerfiles for more info.)

(FYI, prefer using COPY instead of ADD when the file isn't remotely copied.

sh script in your container, chmod +x it and then use it as your command. deb-directory/*.deb file which doesn't exist instead of installing all the. It looks like dpkg is trying to install the so called. I tried your command inside a container (using an interactive shell) and it worked well. The problem comes from the * statement which doesn't seem to work well with the docker run dpkg command. !!! Forget the following but I leave it here to keep track of my reflexion steps !!! You need to invoke a shell for it to be expanded.ĭocker run somecontainer sh -c 'dpkg -i /debdir/*.deb' Someone answered a better way of doing this on the github issue. This is perhaps a bug, I'll open a ticket on their github to know.
