Closed Mattie112 closed 1 year ago
I can't seem to start NPM when I do a clean docker build. Am I missing something here?
C:\Users\xx\xx>git clone https://github.com/jlesage/docker-nginx-proxy-manager.git npm Cloning into 'npm'... remote: Enumerating objects: 694, done. remote: Counting objects: 100% (241/241), done. remote: Compressing objects: 98% (145/147) remote: Compressing objects: 100% (147/147), done. remote: Total 694 (delta 150), reused 179 (delta 90), pack-reused 453 Resolving deltas: 100% (388/388), done. C:\Users\xx\xx>cd npm C:\Users\xx\xx\npm>docker build --no-cache -t test . [+] Building 305.9s (15/15) FINISHED => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 15.28kB 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/jlesage/baseimage:alpine-3.15-v2.4.6 1.4s => [auth] jlesage/baseimage:pull token for registry-1.docker.io 0.0s => [1/9] FROM docker.io/jlesage/baseimage:alpine-3.15-v2.4.6@sha256:7179c18833f9983122ba63c073c022581f5184f68c1bb628ac3b57eee69097fc 0.0s => [internal] load build context 0.1s => => transferring context: 20.88kB 0.0s => CACHED [2/9] WORKDIR /tmp 0.0s => [3/9] RUN add-pkg --virtual build-dependencies build-base curl && export CFLAGS="-Os -fomit-frame-pointer" && expo 4.2s => [4/9] RUN add-pkg --virtual build-dependencies build-base curl linux-headers perl pcre-dev openss 99.5s => [5/9] RUN add-pkg curl nodejs python3 sqlite openssl apache2-utils logrotate bash 2.5s => [6/9] RUN add-pkg --virtual build-dependencies build-base python3-dev libffi-dev openssl-dev cargo 39.2s => [7/9] RUN add-pkg --virtual build-dependencies build-base curl patch yarn git python2 py 145.1s => [8/9] RUN add-pkg --virtual build-dependencies go upx git musl-dev && mkdir /tmp/go && env GOPATH= 8.9s => [9/9] COPY rootfs/ / 0.1s => exporting to image 4.8s => => exporting layers 4.8s => => writing image sha256:d8c44bd178987906ca6ff4c1059dfe5e0f7fe40aebc84c3c7486c03afcb1d3a0 0.0s => => naming to docker.io/library/test 0.0s Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them C:\Users\xx\xx\npm>docker run --rm -it test bash bash-5.1# cd / bash-5.1# ./init [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 00-app-niceness.sh: executing... [cont-init.d] 00-app-niceness.sh: exited 0. [cont-init.d] 00-app-script.sh: executing... [cont-init.d] 00-app-script.sh: exited 0. [cont-init.d] 00-app-user-map.sh: executing... [cont-init.d] 00-app-user-map.sh: exited 0. [cont-init.d] 00-clean-logmonitor-states.sh: executing... [cont-init.d] 00-clean-logmonitor-states.sh: exited 0. [cont-init.d] 00-clean-tmp-dir.sh: executing... [cont-init.d] 00-clean-tmp-dir.sh: exited 0. [cont-init.d] 00-set-app-deps.sh: executing... [cont-init.d] 00-set-app-deps.sh: exited 0. [cont-init.d] 00-set-home.sh: executing... [cont-init.d] 00-set-home.sh: exited 0. [cont-init.d] 00-take-config-ownership.sh: executing... [cont-init.d] 00-take-config-ownership.sh: exited 0. [cont-init.d] 00-xdg-runtime-dir.sh: executing... [cont-init.d] 00-xdg-runtime-dir.sh: exited 0. [cont-init.d] 90-db-upgrade.sh: executing... : No such file or directory sh [cont-init.d] 90-db-upgrade.sh: exited 111. [services.d] stopping services [services.d] stopping s6-fdholderd... [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] syncing disks. [s6-finish] sending all processes the TERM signal. Hangup bash-5.1#
edit: Docker version 20.10.12, build e91ed57 (on Windows 10)
You need to run the container using docker run --rm test.
docker run --rm test
Closing this issue. Please re-open if needed.
I can't seem to start NPM when I do a clean docker build. Am I missing something here?
edit: Docker version 20.10.12, build e91ed57 (on Windows 10)