Comments (6)
I get the same error if I change to the beta repo. Changing back to :1 doesn't fix it.
2024-03-06T12:00:50+01:00 [GETSERVICESTATUSLIST] ERROR: Error: spawn docker ENOENT
at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
at __node_internal_errnoException (node:internal/errors:623:12)
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn docker',
path: 'docker',
spawnargs: [ 'compose', 'ps', '--format', 'json' ]
from dockge.
I'm getting the same error as pvalfar as well.
from dockge.
It seems like this is the same issue as #361. I'm actually running into the same issue myself; poked around a bunch w/ permissions, etc. but couldn't really get it to work. exec
'd into the dockge container and was able to run docker
and docker compose
commands just fine, so I'm not quite sure why the spawn docker
command is throwing an exception here.
from dockge.
I ran into the same problem. Before using dockge, there were other stacks on my host. Is this error caused by dockge not being able to manage existing stacks?
from dockge.
Same here! In version 1.4.2
03/17/2024 09:34:35 PM 2024-03-17T20:34:35Z [GETSERVICESTATUSLIST] ERROR: Error: spawn docker ENOENT
03/17/2024 09:34:35 PM at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
03/17/2024 09:34:35 PM at __node_internal_errnoException (node:internal/errors:623:12)
03/17/2024 09:34:35 PM at ChildProcess._handle.onexit (node:internal/child_process:283:19)
03/17/2024 09:34:35 PM at onErrorNT (node:internal/child_process:476:16)
03/17/2024 09:34:35 PM at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
03/17/2024 09:34:35 PM errno: -2,
03/17/2024 09:34:35 PM code: 'ENOENT',
03/17/2024 09:34:35 PM syscall: 'spawn docker',
03/17/2024 09:34:35 PM path: 'docker',
03/17/2024 09:34:35 PM spawnargs: [ 'compose', 'ps', '--format', 'json' ]
03/17/2024 09:34:35 PM }
My system:
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
Linux host 5.15.0-100-generic #110-Ubuntu SMP Wed Feb 7 13:28:04 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
from dockge.
version: "3.8"
services:
dockge:
image: louislam/dockge:1
restart: unless-stopped
user: "root:986"
ports:
# Host Port : Container Port
- 5001:5001
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/app/data
# If you want to use private registries, you need to share the auth file with Dockge:
- /root/.docker/:/root/.docker
# Stacks Directory
# ⚠️ READ IT CAREFULLY. If you did it wrong, your data could end up writing into a WRONG PATH.
# ⚠️ 1. FULL path only. No relative path (MUST)
# ⚠️ 2. Left Stacks Path === Right Stacks Path (MUST)
- /data/docker-service:/opt/stacks
environment:
# Tell Dockge where is your stacks directory
- DOCKGE_STACKS_DIR=/opt/stacks
After adding the above user configuration, I did not report any errors, but I am not sure if this is the cause
from dockge.
Related Issues (20)
- Quotes being stripped from stack file HOT 2
- docker login does not work via GUI HOT 2
- Allow adding remote docker nodes for centralised management HOT 1
- arm64/V8
- cannot run HOT 1
- Connection to remote aggent with reverse proxy in front does not work HOT 6
- Feature: Auto start on request HOT 1
- docker compose 'version' is obsolete
- Improper docker run -> compose conversion for volumes
- This stack is not managed by Dockge HOT 1
- Automatic page refresh wipes all changes
- Compose Volume Failure on subpath HOT 5
- container bash, can't paste HOT 1
- Empty "networks" section added to existing files
- Error [ERR_MODULE_NOT_FOUND] on aarch64
- line numbers is not correct when a line is too long HOT 3
- Running containers missing from display due to how ports are assigned.
- commenting a line sometimes deletes it upon Deploy HOT 2
- Added automatic container update function HOT 1
- Changing default ports not changing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockge.