Docker Errors

Docker is a platform for building, sharing, and running containerized applications.

343 solutionsOfficial Docs →
BEGINNERMEDIUM
How to fix 'error reading log file: file size exceeds limit' in Docker
This error occurs when Docker container logs grow too large because log rotation is not configured. The fix involves configuring the json-file logging driver with max-size and max-file options to enable automatic log rotation.
0 viewsError response from daemon: error reading log file...
BEGINNERLOW
How to fix 'Container is starting (health: starting)' in Docker
This status indicates a Docker container is in its health check start period and hasn't yet passed a health check. The fix involves configuring an appropriate start_period, verifying the health check command works, and ensuring your application starts within the expected timeframe.
0 viewsContainer is starting (health: starting)
INTERMEDIATEMEDIUM
How to fix 'executable file not found in $PATH' in Docker healthcheck
This error occurs when a Docker container's HEALTHCHECK command references an executable (like curl or wget) that doesn't exist in the container image. The fix involves using an alternative tool that's already installed, installing the required tool, or building a custom healthcheck binary for minimal images.
0 viewsOCI runtime exec failed: exec failed: unable to st...
INTERMEDIATEHIGH
How to fix 'failed to get GCP credentials' in Docker
This error occurs when Docker's gcplogs logging driver cannot authenticate with Google Cloud Logging. The most common cause is that the Docker daemon itself lacks access to Google Cloud credentials, which must be set via environment variables in the daemon's systemd configuration, not in the container or shell environment.
0 viewsError response from daemon: failed to get GCP cred...
INTERMEDIATEMEDIUM
How to fix 'plugin not found' in Docker
The 'plugin not found' error occurs when Docker cannot locate a requested plugin for volumes, networks, or authorization. This typically happens when the plugin is not installed, was installed as a legacy plugin on Docker 1.13+, or the plugin daemon is not running.
0 viewsError response from daemon: plugin "myplugin" not ...
INTERMEDIATEMEDIUM
How to fix 'invalid layer digest' in Docker
This error occurs when Docker detects a mismatch between the expected and actual content of an image layer. Common fixes include removing corrupted images, clearing the Docker cache, and verifying network connectivity to the registry.
0 viewsError response from daemon: invalid layer digest
BEGINNERHIGH
How to fix "no space left on device" during Docker build
This error occurs when Docker runs out of disk space during image builds. The fix typically involves cleaning up unused Docker resources, pruning build cache, or increasing available storage.
0 viewswrite /var/lib/docker/tmp/...: no space left on de...
BEGINNERLOW
How to fix "build cancelled" error in Docker
The "build cancelled" or "context canceled" error occurs when Docker terminates a build process prematurely. This typically happens due to large build contexts, file locking issues, or network interruptions.
0 viewserror: build cancelled
INTERMEDIATEMEDIUM
How to fix 'health check failed' in Docker
This error indicates that Docker's HEALTHCHECK command could not verify your container's service is working correctly. The container is marked as 'unhealthy' and dependent services may fail to start. Fix this by debugging the health check command, adjusting timing parameters, or ensuring your application responds properly.
0 viewshealth check failed
INTERMEDIATEMEDIUM
How to fix 'error setting label on mount source' in Docker
This error occurs when Docker tries to relabel a bind-mounted directory for SELinux but is not allowed to do so. The fix involves removing the :z/:Z suffix, using --security-opt label:disable, or manually setting SELinux contexts.
0 viewsError response from daemon: error setting label on...
INTERMEDIATEMEDIUM
How to fix 'operation not permitted (no-new-privileges)' in Docker
This error occurs when Docker's no-new-privileges security option prevents a container process from executing operations that require privilege escalation. The fix involves understanding when no-new-privileges is needed, configuring it correctly, or working around SELinux conflicts on RHEL-based systems.
0 viewsError response from daemon: operation not permitte...
BEGINNERLOW
How to fix 'context is in use, cannot be removed' in Docker
The 'context is in use, cannot be removed' error occurs when you try to remove a Docker context that is currently active. Switch to a different context first using `docker context use`, or use the `--force` flag to remove the active context.
0 viewsError: context is in use, cannot be removed
BEGINNERLOW
How to fix 'volume with name already exists' in Docker
The 'volume with name already exists' error occurs when you try to create a Docker volume using a name that's already taken. Either remove the existing volume, use a different name, or reuse the existing one.
0 viewsError response from daemon: volume with name "myvo...
INTERMEDIATEMEDIUM
How to fix "Container did not respond to SIGTERM within timeout" in Docker
This error occurs when Docker sends a SIGTERM signal to gracefully stop a container, but the process inside doesn't respond before the timeout expires. Docker then forcibly kills the container with SIGKILL. The fix involves proper signal handling, using exec form in Dockerfiles, or adding an init process.
0 viewsContainer did not respond to SIGTERM within timeou...
INTERMEDIATEHIGH
How to fix 'Container process (PID 1) exited unexpectedly' in Docker
This error occurs when the main process running inside a Docker container (PID 1) terminates unexpectedly, causing the container to stop. The fix typically involves ensuring your application runs in the foreground, handles signals properly, and uses an init process when needed.
0 viewsContainer process (PID 1) exited unexpectedly
INTERMEDIATEHIGH
How to fix 'error creating containerd snapshot' in Docker
This error occurs when Docker's containerd runtime fails to create a filesystem snapshot for a container. Common causes include corrupted storage, missing snapshot directories, disk space issues, or storage driver misconfiguration.
0 viewsError response from daemon: failed to create conta...
INTERMEDIATEMEDIUM
How to fix 'error exporting cache: failed to export cache' in Docker
This BuildKit error occurs when Docker cannot export build cache to a registry or local storage. The most common cause is using the default docker driver, which doesn't support cache export. Fix it by switching to the docker-container driver or enabling the containerd image store.
0 viewserror exporting cache: failed to export cache
INTERMEDIATEMEDIUM
How to fix 'lookup host.docker.internal: no such host' in Docker
This error occurs when a container tries to connect to host.docker.internal but the DNS name is not configured. On Linux, host.docker.internal requires explicit configuration unlike macOS and Windows where it works automatically.
0 viewsdial tcp: lookup host.docker.internal: no such hos...
BEGINNERLOW
How to fix 'invalid tmpfs size' in Docker
This error occurs when specifying a tmpfs mount size in an invalid format. Docker expects the size as an integer (bytes) or with proper suffixes like 'k', 'm', or 'g' for kilobytes, megabytes, or gigabytes.
0 viewsError response from daemon: invalid tmpfs size
INTERMEDIATEMEDIUM
How to fix 'x509: certificate is valid for X, not Y' in Docker
This error occurs when Docker attempts to connect to a registry or server, but the SSL/TLS certificate presented does not match the hostname being accessed. The certificate's Common Name (CN) or Subject Alternative Names (SANs) do not include the domain you're trying to reach.
0 viewsx509: certificate is valid for *.docker.io, not my...
BEGINNERLOW
How to fix 'Additional property invalid is not allowed' in Docker Compose
This error occurs when your docker-compose.yml contains a property name that Docker Compose doesn't recognize. It typically results from typos, using properties from a different Compose file version, or incorrect YAML indentation.
0 viewsERROR: services.web Additional property invalid is...
BEGINNERMEDIUM
How to fix '/bin/bash: no such file or directory' in Docker
This error occurs when you try to run or exec into a Docker container using /bin/bash, but the container's image doesn't include bash. This is common with Alpine, distroless, or scratch-based images that use minimal shells like sh or ash, or have no shell at all.
0 viewsOCI runtime create failed: container_linux.go: sta...
BEGINNERMEDIUM
How to fix 'operation was cancelled' in Docker
The 'operation was cancelled' error occurs when a Docker operation is interrupted before completion. This typically happens due to user cancellation, timeouts, resource constraints, or Docker Desktop connectivity issues.
0 viewsError: operation was cancelled
INTERMEDIATEMEDIUM
How to fix 'npm ERR! code ENOENT' in Docker
This error occurs when npm cannot find a required file, typically package.json, during Docker builds or container execution. The most common cause is volume mounts overwriting files copied during the build process or incorrect WORKDIR/COPY path configurations.
0 viewsnpm ERR! code ENOENT
BEGINNERLOW
How to fix 'context does not exist' in Docker
The 'context does not exist' error occurs when Docker CLI attempts to use a context that hasn't been created or has been removed. This typically happens after switching machines, resetting Docker Desktop, or referencing a non-existent context name.
0 viewsError: context "mycontext" does not exist
INTERMEDIATEMEDIUM
How to fix 'Pool overlaps with other one on this address space' in Docker
This error occurs when Docker tries to create a network using an IP address range (CIDR block) that conflicts with an existing Docker network or host network. The fix involves identifying and removing the conflicting network or reconfiguring the subnet.
0 viewsERROR: Pool overlaps with other one on this addres...
BEGINNERLOW
How to fix 'default context cannot be removed' in Docker
The 'default context cannot be removed' error occurs when attempting to delete Docker's built-in default context using 'docker context rm default'. This is expected behavior since the default context is a reserved, protected context that Docker requires for baseline operations.
0 viewsError: default context cannot be removed
BEGINNERLOW
How to fix 'COPY failed: no source files were specified' in Docker
This error occurs when Docker cannot find the files specified in a COPY instruction during image build. It typically happens due to incorrect build context, .dockerignore rules, or multi-stage build configuration issues.
0 viewsCOPY failed: no source files were specified
BEGINNERLOW
How to fix 'Container is not running' in Docker
This error occurs when attempting to execute commands on a stopped Docker container. The container exists but is not in a running state, preventing operations like exec, logs, or attach from working.
0 viewsError response from daemon: Container is not runni...
BEGINNERLOW
How to fix 'Unable to locate package' in Docker
This error occurs when apt-get cannot find a package in its cache during Docker image builds. The most common cause is missing apt-get update before installation commands.
0 viewsE: Unable to locate package nodejs
BEGINNERLOW
How to fix 'a prune operation is already running' in Docker
This error occurs when Docker detects an existing prune operation lock, often caused by interrupted SSH sessions, unresponsive containers, or containerd communication failures.
0 viewsError response from daemon: a prune operation is a...
INTERMEDIATEMEDIUM
How to fix '503 Service Unavailable' in Docker
The 503 Service Unavailable error occurs when Docker cannot reach a registry (Docker Hub or private). This is typically caused by registry outages, network issues, or proxy/firewall misconfigurations.
0 viewsError response from daemon: 503 Service Unavailabl...
BEGINNERLOW
How to fix "Container exited with code 0" in Docker
A Docker container that exits with code 0 immediately after starting has successfully completed its main process. This typically occurs when the container's entrypoint or command is a short-lived task rather than a long-running service, or when running interactive shells without proper terminal attachment.
0 viewsContainer exited with code 0 immediately after sta...
INTERMEDIATEMEDIUM
How to fix Docker exit code 126: Command cannot be invoked
Docker exit code 126 occurs when a command in your container specification is found but cannot be executed. This typically happens when entrypoint scripts or executable files lack proper execute permissions, preventing the container from starting successfully.
0 viewsContainer exited with code 126: command cannot be ...
INTERMEDIATEHIGH
How to fix 'Error response from daemon: Read-only file system' in Docker
This daemon-level error occurs when Docker cannot write to its storage backend, typically due to Snap installation restrictions, disk space exhaustion, hardware failures, or storage driver issues. The daemon itself fails operations rather than individual containers.
0 viewsError response from daemon: Read-only file system
INTERMEDIATEMEDIUM
How to fix 'Unknown runtime specified nvidia' in Docker
This error occurs when Docker cannot find the NVIDIA container runtime. The fix requires installing the NVIDIA Container Toolkit and configuring Docker to recognize the nvidia runtime.
0 viewsError response from daemon: Unknown runtime specif...
BEGINNERMEDIUM
How to fix 'Container exited with status code 2' in Docker
Exit code 2 in Docker indicates a misuse of a shell command or invalid arguments passed to a command inside the container. This is a standard Unix/Linux convention where code 2 typically signals command syntax errors, missing required arguments, or incorrect usage of shell builtins.
0 viewsContainer exited with status code 2
INTERMEDIATEHIGH
How to fix 'failed to create containerd task' in Docker
The 'failed to create containerd task: failed to create shim task' error occurs when Docker's containerd runtime cannot initialize the container process. This is typically caused by service issues, permission problems, corrupted containers, or version incompatibilities between containerd and runc.
0 viewsfailed to create containerd task: failed to create...
INTERMEDIATEMEDIUM
How to fix 'Unknown runtime specified nvidia' in Docker
This error occurs when Docker cannot find the NVIDIA container runtime. It typically means the nvidia-container-toolkit is not installed, Docker's daemon.json is not configured correctly, or Docker needs to be restarted after installation.
0 viewsError response from daemon: Unknown runtime specif...
BEGINNERMEDIUM
How to fix 'config not found' in Docker Swarm
This error occurs when a Docker Swarm service references a config that doesn't exist in the swarm. Configs must be created before deploying services that use them. The fix involves creating the missing config or updating your service definition.
0 viewsError response from daemon: config not found: myco...
ADVANCEDCRITICAL
How to fix 'The swarm does not have a leader' in Docker
This error occurs when a Docker Swarm cluster loses quorum because too few manager nodes are available. The Raft consensus algorithm requires a majority of managers to be online to elect a leader. Recovery typically involves reinitializing the swarm with --force-new-cluster on a surviving manager.
0 viewsError response from daemon: The swarm does not hav...
BEGINNERHIGH
How to fix 'no space left on device' in Docker
This error occurs when Docker runs out of disk space while pulling images, building containers, or writing to volumes. The fix involves cleaning up unused Docker objects and ensuring adequate disk space.
0 viewsfailed to register layer: Error processing tar fil...
INTERMEDIATEMEDIUM
How to fix 'chown: changing ownership: Operation not permitted' in Docker
This error occurs when a Docker container attempts to change file ownership using chown, but the operation is blocked due to volume mount restrictions, filesystem limitations, user namespace remapping, or insufficient permissions. Common fixes include mounting to parent directories, using COPY --chown in Dockerfiles, or adjusting host permissions before container startup.
0 viewschown: changing ownership of '/data': Operation no...
INTERMEDIATEMEDIUM
How to fix 'layer does not exist' in Docker
This error occurs when Docker cannot find a required image layer during operations like run, build, push, or save. Common fixes include restarting the Docker daemon, pruning corrupted data, or re-pulling the affected images.
0 viewsError response from daemon: layer does not exist
ADVANCEDCRITICAL
How to fix 'Thin Pool has 0 free data blocks' in Docker
This critical error occurs when Docker's devicemapper thin pool is completely exhausted with zero free blocks remaining. The Docker daemon becomes unresponsive and cannot create containers. Immediate action is required to recover storage space or extend the thin pool.
0 viewsdevmapper: Thin Pool has 0 free data blocks
INTERMEDIATEMEDIUM
How to fix 'network is unreachable' in Docker
The 'dial tcp: connect: network is unreachable' error occurs when Docker cannot establish a TCP connection to an external host or registry. This typically indicates DNS configuration issues, missing network routes, IPv6-only environments, or problems with Docker's network bridge.
0 viewsdial tcp: connect: network is unreachable
INTERMEDIATEMEDIUM
How to fix 'chmod: changing permissions: Operation not permitted' in Docker
This error occurs when Docker containers cannot change file permissions using chmod, typically due to non-root user restrictions, volume mount limitations (NFS/CIFS), or base image constraints. The fix usually involves using COPY --chown in Dockerfiles, switching to root temporarily, or adjusting volume mount options.
0 viewschmod: changing permissions of '/app/script.sh': O...
BEGINNERLOW
How to fix 'This node is not a swarm manager' in Docker
This error occurs when trying to use Docker Swarm features (like overlay networks or swarm commands) on a node that hasn't been initialized as a swarm manager. The fix is to either initialize a swarm, join an existing one, or switch to a non-swarm network driver like bridge.
0 viewsError response from daemon: This node is not a swa...
INTERMEDIATEMEDIUM
How to fix 'health check command returned non-zero exit code' in Docker
This error occurs when a Docker container's HEALTHCHECK command fails, returning exit code 1 instead of 0. The fix involves debugging the health check command, adjusting timing parameters, and ensuring the target service is properly responding.
0 viewshealth check command returned non-zero exit code: ...
BEGINNERMEDIUM
How to fix 'ADD failed: file not found in build context' in Docker
This error occurs when Docker cannot find a file specified in the ADD or COPY instruction. The file either does not exist in the build context directory, is located outside the build context, or has been excluded by a .dockerignore rule.
0 viewsADD failed: file not found in build context or exc...
INTERMEDIATEMEDIUM
How to fix 'COPY failed: no such file or directory' in Docker
This error occurs during Docker multi-stage builds when COPY --from cannot find the specified file or directory in the source stage. The fix involves verifying paths are correct, using absolute paths, and ensuring files are created in the expected locations during the build stage.
0 viewsCOPY failed: stat /var/lib/docker/overlay2/.../mer...
INTERMEDIATEMEDIUM
How to fix 'Exited (137)' container killed by SIGKILL in Docker
Exit code 137 indicates your Docker container received SIGKILL (signal 9). This typically happens due to out-of-memory (OOM) conditions, manual termination via docker stop/kill, or the container exceeding its shutdown grace period. The fix depends on identifying whether the kill was memory-related or externally triggered.
0 viewsExited (137) - Container was killed by SIGKILL
BEGINNERMEDIUM
How to fix 'unable to select packages: no such package' in Alpine Docker
This error occurs when Alpine Linux's apk package manager cannot find a package in its repositories. Common causes include missing repository configuration, renamed packages in newer Alpine versions, or typos in the package name.
0 viewsERROR: unable to select packages: pkg (no such pac...
BEGINNERLOW
How to fix 'Minimum memory limit allowed is 6MB' in Docker
This error occurs when you try to set a container memory limit below Docker's minimum threshold of 6MB. The fix is straightforward: increase the memory limit to at least 6MB or remove the constraint entirely if no limit is needed.
0 viewsMinimum memory limit allowed is 6MB
INTERMEDIATEMEDIUM
How to fix 'Service has an invalid healthcheck definition' in Docker Compose
This error occurs when the healthcheck configuration in your docker-compose.yml file contains syntax errors, unsupported options, or conflicting settings. Docker Compose validates healthcheck definitions and rejects configurations that don't conform to the expected format or contain incompatible option combinations.
0 viewsERROR: Service 'web' has an invalid healthcheck de...
INTERMEDIATELOW
How to fix 'pids limit is not supported on this platform' in Docker
This error occurs when you try to use the --pids-limit flag on a system where the Linux kernel does not have the pids cgroup controller enabled. The fix involves enabling CGROUP_PIDS in your kernel configuration or switching to cgroup v2 with proper systemd delegation.
0 viewsError response from daemon: pids limit is not supp...
INTERMEDIATEHIGH
How to fix 'x509: certificate has expired or is not yet valid' in Docker
This error occurs when Docker's TLS certificate validation fails due to an expired certificate or incorrect system time. The most common causes are system clock misconfiguration, expired registry certificates, or outdated CA certificates on the Docker host.
0 viewsx509: certificate has expired or is not yet valid
BEGINNERLOW
How to fix 'This node is already part of a swarm' in Docker
This error occurs when you try to initialize or join a Docker Swarm on a node that is already a member of an existing swarm. The fix involves leaving the current swarm first before joining or creating a new one.
0 viewsError response from daemon: This node is already p...
BEGINNERMEDIUM
How to fix 'secret not found' in Docker Swarm
This error occurs when Docker Swarm cannot locate a secret that a service is trying to use. The fix typically involves creating the missing secret, verifying secret names match between your service definition and the secret store, or ensuring you're operating on a Swarm manager node.
0 viewsError response from daemon: secret not found: myse...
INTERMEDIATEHIGH
How to fix 'failed to initialize logging driver' in Docker
This error occurs when Docker cannot initialize the specified logging driver for a container. Common causes include misconfigured driver options, unavailable logging backends (journald, syslog, cloud services), missing credentials, or network connectivity issues to remote logging endpoints.
0 viewsError response from daemon: failed to initialize l...
INTERMEDIATEMEDIUM
How to fix 'unknown logging driver' error in Docker
This error occurs when Docker cannot find the specified logging driver. The driver may not be installed, may require a plugin installation, or may not be available on your Docker version.
0 viewsError response from daemon: unknown logging driver...
INTERMEDIATEMEDIUM
How to fix 'failed to get awslogs credentials' in Docker
This error occurs when the Docker daemon cannot authenticate with AWS CloudWatch Logs. The awslogs logging driver requires AWS credentials to be provided directly to the Docker daemon, not to individual containers.
0 viewsError response from daemon: failed to get awslogs ...
INTERMEDIATEMEDIUM
How to fix 'error while creating fluentd logger: dial tcp: connection refused' in Docker
This error occurs when Docker cannot establish a connection to the Fluentd logging service. The Fluentd daemon may not be running, not yet ready, or the connection address is misconfigured. Containers using the fluentd logging driver will fail to start until the connection succeeds.
0 viewsError response from daemon: error while creating f...
INTERMEDIATEMEDIUM
How to fix 'error enabling plugin' in Docker
This error occurs when Docker cannot enable a plugin due to permission issues, missing dependencies, incompatible versions, or plugin configuration problems. The fix typically involves checking plugin requirements, ensuring proper permissions, and verifying Docker daemon compatibility.
0 viewsError response from daemon: error enabling plugin
INTERMEDIATEMEDIUM
How to fix 'plugin is in use' in Docker
The 'plugin is in use' error occurs when Docker prevents you from disabling or removing a plugin because volumes, networks, or other resources still reference it. Remove the dependent resources first, or use the force flag to override.
0 viewsError response from daemon: plugin is in use
INTERMEDIATEMEDIUM
How to fix 'read: connection timed out' in Docker
The 'read: connection timed out' error occurs when Docker cannot complete reading data from a network connection within the expected time. This typically indicates network instability, DNS resolution problems, proxy misconfiguration, firewall restrictions, or registry server issues.
0 viewsread: connection timed out
INTERMEDIATEMEDIUM
How to fix 'timeout awaiting response headers' in Docker
The 'net/http: timeout awaiting response headers' error occurs when Docker's HTTP client does not receive a timely response from a registry server. This is typically caused by network connectivity issues, DNS problems, proxy misconfigurations, or server overload.
0 viewsnet/http: timeout awaiting response headers
BEGINNERMEDIUM
How to fix 'no matching manifest for linux/arm64' in Docker
This error occurs when pulling a Docker image that doesn't have a version compiled for your CPU architecture. Common on Apple Silicon Macs (M1/M2/M3) and ARM-based systems like Raspberry Pi when trying to use x86/amd64-only images. Fix by using the --platform flag, setting DOCKER_DEFAULT_PLATFORM, or finding multi-architecture images.
0 viewsError response from daemon: no matching manifest f...
INTERMEDIATEMEDIUM
How to fix 'failed to load builder' in Docker Buildx
The 'failed to solve: failed to load builder' error occurs when Docker Buildx cannot find or initialize a valid builder instance. This typically happens due to missing or broken buildx plugin installation, misconfigured builders, or WSL/Docker Desktop integration issues.
0 viewsERROR: failed to solve: failed to load builder
INTERMEDIATEMEDIUM
How to fix 'no matching manifest for linux/arm64' in Docker
This error occurs when pulling a Docker image that doesn't have a variant for your ARM64 architecture (Apple Silicon, Raspberry Pi, AWS Graviton). The fix involves using the --platform flag to emulate amd64, finding ARM-compatible images, or building multi-architecture images with Docker Buildx.
0 viewsError response from daemon: no matching manifest f...
INTERMEDIATEMEDIUM
How to fix 'failed to push: unsupported platform' in Docker Buildx
This error occurs when Docker Buildx attempts to push a multi-platform image but the target registry or driver doesn't support the platform manifest. Common causes include using the default Docker driver (which lacks multi-platform support), missing QEMU emulation for cross-architecture builds, or registry limitations.
0 viewsERROR: failed to solve: failed to push: unsupporte...
INTERMEDIATEMEDIUM
How to fix 'operation not permitted: capability not permitted' in Docker
This error occurs when a Docker container attempts to use a Linux capability that has not been granted. The container is trying to perform a privileged operation (like modifying network interfaces or mounting filesystems) but lacks the required capability. Fix by adding specific capabilities with --cap-add or reviewing your security constraints.
0 viewsError response from daemon: operation not permitte...
INTERMEDIATEHIGH
How to fix "Container was killed with SIGKILL" in Docker
This error occurs when a Docker container receives the SIGKILL signal (signal 9), causing immediate termination without graceful shutdown. Common causes include OOM killer, docker stop timeouts, manual kill commands, or orchestration systems forcefully terminating containers.
0 viewsContainer was killed with SIGKILL
INTERMEDIATEMEDIUM
How to fix 'proxyconnect tcp: dial tcp: connection refused (proxy)' in Docker
This error occurs when Docker cannot connect through your corporate or system proxy. The proxy server is either not running, not accessible, or requires authentication credentials that are not configured correctly in Docker.
0 viewsproxyconnect tcp: dial tcp: connection refused (pr...
INTERMEDIATEMEDIUM
How to fix 'Proxy Authentication Required' in Docker
This error occurs when Docker tries to pull images through a corporate proxy that requires authentication. The Docker daemon needs proper proxy credentials configured to access Docker Hub or other registries.
0 viewsError response from daemon: Get https://registry-1...
BEGINNERMEDIUM
Permission denied while trying to connect to Docker daemon socket
This error occurs when your user account doesn't have permission to access the Docker daemon. The Docker daemon runs as root, and by default, only root or users in the 'docker' group can connect to it.
0 viewsGot permission denied while trying to connect to t...
INTERMEDIATEMEDIUM
How to fix 'Could not resolve host' DNS errors in Docker
The 'Could not resolve host' error occurs when Docker containers cannot perform DNS lookups to translate hostnames into IP addresses. This is commonly caused by misconfigured DNS settings, systemd-resolved conflicts on Linux, or network isolation issues.
0 viewsCould not resolve host: api.example.com
INTERMEDIATEHIGH
How to fix 'network bridge not found' in Docker
This error occurs when the Docker daemon cannot find the default bridge network, usually due to corrupted network database files or misconfiguration. Fix it by deleting the local-kv.db file and restarting Docker.
0 viewsError response from daemon: network bridge not fou...
INTERMEDIATEMEDIUM
How to fix 'context deadline exceeded' in Docker
The 'context deadline exceeded' error occurs when a Docker operation fails to complete within the allotted timeout period. This typically indicates network connectivity issues, DNS resolution failures, slow registry responses, or Docker daemon problems.
0 viewscontext deadline exceeded
INTERMEDIATEMEDIUM
How to fix 'failed to solve: executor failed running' in Docker
This error occurs when a command in your Dockerfile fails during the BuildKit build process. Common causes include missing packages, permission issues, or incorrect command syntax.
0 viewsfailed to solve: executor failed running: exit cod...
INTERMEDIATEMEDIUM
How to fix 'config is not defined' in Docker Compose
This error occurs when a Docker Compose service references a config in the `configs` section that hasn't been defined at the top-level `configs` key or doesn't exist as an external Docker config. You need to either define the config in your compose file or create it externally with Docker Swarm.
0 viewsconfig "myconfig" is not defined
BEGINNERHIGH
How to fix "no space left on device" in Docker
Docker has run out of disk space for images, containers, or volumes. Clean up unused Docker resources with docker system prune or expand your disk storage.
0 viewsfailed to register layer: Error processing tar fil...
BEGINNERMEDIUM
How to fix "context too large" error in Docker build
Docker fails when the build context exceeds size limits. This happens when large files or directories like node_modules, .git, or logs are inadvertently included. Create a .dockerignore file to exclude unnecessary files.
0 viewserror checking context: context too large
BEGINNERHIGH
How to fix "Cannot connect to the Docker daemon" in Docker
The Docker daemon is not running or your user lacks permission to access the Docker socket. Start the daemon service or add your user to the docker group.
0 viewsCannot connect to the Docker daemon at unix:///var...
BEGINNERHIGH
How to fix 'Error response from daemon: no space left on device' in Docker
This error occurs when Docker cannot create or start containers because the host filesystem has run out of disk space. The fix involves cleaning up unused Docker resources with prune commands or expanding storage capacity.
0 viewsError response from daemon: no space left on devic...
BEGINNERLOW
How to fix 'network with name already exists' in Docker
This error occurs when you try to create a Docker network that already exists. The fix is simple: either use the existing network, remove it first, or check if it exists before creating.
0 viewsError response from daemon: network with name myne...
ADVANCEDHIGH
How to fix 'BTRFS error: unable to allocate chunk' in Docker
This error occurs when Docker's BTRFS storage driver runs out of allocatable chunk space, even though disk space may appear available. The BTRFS filesystem cannot create new chunks for container operations. Rebalancing the filesystem or freeing chunk space is required to recover.
0 viewsBTRFS error: unable to allocate chunk
BEGINNERHIGH
How to fix 'no space left on device' when registering layers in Docker
This error occurs when Docker cannot extract and register image layers due to insufficient disk space on the host filesystem. The solution involves cleaning up unused Docker resources or expanding available storage.
0 viewsfailed to register layer: Error processing tar fil...
BEGINNERMEDIUM
How to fix 'Network declared as external but could not be found' in Docker Compose
This error occurs when your Docker Compose file references a network marked as external, but Docker cannot find a pre-existing network with that name. The fix is to either create the network manually or remove the external flag.
0 viewsNetwork mynetwork declared as external, but could ...
INTERMEDIATEMEDIUM
How to fix 'dependency condition service_healthy was never satisfied' in Docker Compose
This error occurs when Docker Compose waits for a service to become healthy but the healthcheck never succeeds within the allowed time. The dependency service either lacks a proper healthcheck, the healthcheck command is failing, or the timeout and retry settings are insufficient.
0 viewsdependency condition 'service_healthy' was never s...
INTERMEDIATEMEDIUM
How to fix 'Health check timed out' in Docker
This error occurs when Docker's health check command takes longer to execute than the configured timeout duration, causing Docker to consider the check as failed. Common fixes include increasing the timeout value, optimizing the health check command, and addressing underlying performance issues.
0 viewsHealth check timed out
BEGINNERMEDIUM
How to fix 'Error response from daemon: No such volume' in Docker
The 'No such volume' error occurs when Docker cannot find a named volume you're trying to use or reference. Create the volume first, check for typos in the volume name, or use bind mounts if you intended to mount a host directory.
0 viewsError response from daemon: No such volume: myvolu...
INTERMEDIATEMEDIUM
How to fix 'Health check failed after maximum retries' in Docker
This error occurs when a Docker container's health check command fails consecutively for the configured number of retries (default: 3). The container is then marked as 'unhealthy'. Common fixes include increasing the retry count, extending timeout and start_period values, and debugging the underlying health check command.
0 viewsHealth check failed after maximum retries
INTERMEDIATEMEDIUM
How to fix 'error while creating syslog logger: dial unix: connection refused' in Docker
This error occurs when Docker cannot connect to the syslog service via a Unix socket. The syslog daemon is either not running, the socket path is incorrect, or the wrong socket protocol is being used. The fix typically involves starting syslog, using the correct socket address format, or switching to a network-based syslog target.
0 viewsError response from daemon: error while creating s...
BEGINNERLOW
How to fix 'Cannot restart container: Container is not running' in Docker
Docker cannot restart a stopped container because the restart command only works on running containers. Use docker start instead, or check why the container exited and address the underlying issue.
0 viewsError response from daemon: Cannot restart contain...
INTERMEDIATEHIGH
How to fix 'error initializing btrfs driver' in Docker
This error occurs when Docker fails to initialize the btrfs storage driver. It typically happens when the underlying filesystem is not btrfs, btrfs-progs is not installed, or Docker data is corrupted. The fix usually involves verifying your filesystem type, installing required packages, or switching to a different storage driver like overlay2.
0 viewsError starting daemon: error initializing graphdri...
INTERMEDIATEMEDIUM
How to fix 'error installing plugin' in Docker
This error occurs when Docker fails to install a plugin due to permission issues, network problems, incompatible plugin versions, or daemon configuration issues. The solution depends on the specific underlying cause.
0 viewsError response from daemon: error installing plugi...
BEGINNERLOW
How to fix 'unable to remove repository reference' in Docker
The 'unable to remove repository reference (must force)' error occurs when Docker cannot delete an image because a container (running or stopped) is still using it. Remove dependent containers first, or use the force flag to delete the image.
0 viewsError response from daemon: conflict: unable to re...
INTERMEDIATEMEDIUM
How to fix 'net/http: TLS handshake timeout' in Docker
The 'net/http: TLS handshake timeout' error occurs when Docker cannot complete a TLS (Transport Layer Security) handshake with a registry within the allowed time. This is typically caused by network latency, proxy misconfigurations, firewall restrictions, or MTU issues.
0 viewsnet/http: TLS handshake timeout
BEGINNERLOW
How to fix 'Dockerfile: no such file or directory' in Docker
This error occurs when Docker cannot locate the Dockerfile during the build process. It typically happens when the Dockerfile is missing, misnamed, or not in the expected location within the build context.
0 viewsunable to prepare context: unable to evaluate syml...
BEGINNERMEDIUM
How to fix 'error during connect: docker daemon is not running' on Windows
This error occurs on Windows when Docker Desktop is not running or cannot start. The Docker CLI cannot communicate with the Docker daemon through the named pipe.
0 viewserror during connect: This error may indicate that...
BEGINNERLOW
How to fix 'You cannot remove a running container' in Docker
Docker prevents removing containers that are still running to avoid data loss. Stop the container first with 'docker stop' or use the '-f' flag to force removal.
0 viewsError response from daemon: You cannot remove a ru...
INTERMEDIATEHIGH
How to fix 'exec format error' when using QEMU emulation in Docker
This error occurs when Docker attempts to run a container built for a different CPU architecture using QEMU emulation, but the emulation fails or is not properly configured. Common when running ARM images on x86 machines or vice versa. The fix involves properly setting up QEMU binfmt handlers or building native multi-architecture images.
0 viewsexec format error (using QEMU emulation)
INTERMEDIATEMEDIUM
How to fix 'error loading seccomp profile' in Docker
This error occurs when Docker cannot load or parse a seccomp security profile. The issue is typically caused by an invalid JSON profile file, incorrect file path, or kernel incompatibility. Fixes include verifying the profile syntax, using the default profile, or temporarily disabling seccomp.
0 viewsError response from daemon: error loading seccomp ...
BEGINNERLOW
How to fix 'yaml.parser.ParserError: while parsing a block mapping' in Docker Compose
The 'yaml.parser.ParserError: while parsing a block mapping' error occurs when Docker Compose encounters invalid YAML syntax, typically due to incorrect indentation, tabs instead of spaces, or structural issues in your docker-compose.yml file.
0 viewsERROR: yaml.parser.ParserError: while parsing a bl...
INTERMEDIATEMEDIUM
How to fix 'Container exited with code 128' in Docker
Exit code 128 indicates an invalid exit argument or is the base value for signal-related container terminations. This error commonly occurs due to Git/SSH authentication failures during builds, invalid exit() arguments in scripts, volume mount issues, or OCI runtime errors.
0 viewsContainer exited with code 128: invalid exit argum...
BEGINNERLOW
How to fix "context already exists" in Docker
The "context already exists" error occurs when attempting to create a Docker context with a name that is already in use. Docker contexts allow you to manage connections to multiple Docker daemons, and each context must have a unique name.
0 viewsError: context "mycontext" already exists
INTERMEDIATEHIGH
How to fix 'OCI runtime create failed: container init process failed' in Docker
This error occurs when the container runtime (runc) fails to initialize and start your container process. Common causes include missing executables, incorrect file permissions, invalid entrypoints, or Docker version incompatibilities.
0 viewsOCI runtime create failed: container init process ...
BEGINNERMEDIUM
How to fix 'proxyconnect tcp: dial tcp connection refused' in Docker
This error occurs when Docker is configured to use a proxy server, but the proxy is unreachable or not running. The Docker daemon cannot connect to Docker Hub or other registries through the specified proxy, resulting in image pull and push failures.
0 viewsError response from daemon: Get https://registry-1...
BEGINNERLOW
How to fix 'pull access denied' in Docker
The 'pull access denied' error occurs when Docker cannot download an image from a registry. This typically happens due to a typo in the image name, the image not existing on the registry, or authentication being required for a private repository.
0 viewsError response from daemon: pull access denied for...
INTERMEDIATEMEDIUM
How to fix 'invalid character '<' looking for beginning of value' in Docker
This error occurs when Docker receives an HTML response instead of the expected JSON from a registry. Common causes include network proxies intercepting requests, corporate firewalls, geographic IP blocking, or misconfigured registry URLs.
0 viewsError response from daemon: invalid character '<' ...
INTERMEDIATEMEDIUM
How to fix 'Error response from daemon: 400 Bad Request' in Docker
This error occurs when the Docker daemon receives a malformed or invalid request from the client. Common causes include API version mismatches, invalid container/image names, and proxy configuration issues.
0 viewsError response from daemon: 400 Bad Request
INTERMEDIATEMEDIUM
How to fix 'COPY --from: invalid from flag value: stage not found' in Docker
This error occurs when Docker cannot find a build stage referenced in a COPY --from instruction. The stage name must match exactly with an AS alias defined in a previous FROM instruction.
0 viewsCOPY --from=builder: invalid from flag value build...
BEGINNERMEDIUM
How to fix "address already in use" in Docker
The port you are trying to bind is already used by another process or container. Find and stop the conflicting process, or use a different port mapping.
0 viewsError starting userland proxy: listen tcp4 0.0.0.0...
BEGINNERMEDIUM
How to fix "pull access denied, repository does not exist" in Docker
Docker cannot find or access the image. The image name may be misspelled, the repository is private and requires authentication, or the image does not exist.
0 viewsUnable to find image locally. Error response from ...
INTERMEDIATEMEDIUM
How to fix "container is unhealthy" in Docker
The container health check is failing. The application inside may not be ready, the health check command may be misconfigured, or the service has crashed. Check container logs and health check output.
0 viewscontainer is unhealthy
BEGINNERLOW
How to fix "COPY failed: file not found" in Docker
The file you are trying to COPY does not exist in the build context or is excluded by .dockerignore. Check the file path relative to the Dockerfile and your .dockerignore rules.
0 viewsCOPY failed: file not found in build context or ex...
INTERMEDIATEHIGH
How to fix "cannot allocate memory" in Docker
The system does not have enough memory to start the container. Free up memory by stopping unused containers, increasing system RAM, or adjusting container memory limits.
0 viewsruntime create failed: container_linux.go:380: sta...
BEGINNERMEDIUM
How to fix 'Mounts denied: path is not shared from host' in Docker
This error occurs when Docker Desktop cannot access a host directory you're trying to mount. The path must be added to Docker's file sharing settings before it can be used as a bind mount.
0 viewsMounts denied: The path /host/path is not shared f...
INTERMEDIATEMEDIUM
How to fix 'OCI runtime exec failed: unable to start container process' in Docker
The OCI runtime exec failed error occurs when Docker's container runtime cannot start or execute a process inside a container. This typically happens due to missing executables, incorrect shell paths, containerd/runc bugs, or line ending issues in scripts.
0 viewsOCI runtime exec failed: exec failed: unable to st...
INTERMEDIATEMEDIUM
How to fix 'Container exited with code 255' in Docker
Exit code 255 is a generic error code indicating an abnormal container termination. It typically occurs when a process exits with a negative exit code (which gets converted to 255), when SSH connections fail, or when Docker encounters an unspecified fatal error.
0 viewsContainer exited with code 255: exit status out of...
INTERMEDIATEMEDIUM
How to fix '/bin/sh: no such file or directory' in Docker scratch images
This error occurs when running containers built FROM scratch because scratch images contain absolutely nothing - no shell, no libraries, no system files. You must use exec form for CMD/ENTRYPOINT and ensure your binary is statically compiled.
0 viewscontainer_linux.go:380: starting container process...
INTERMEDIATEMEDIUM
How to fix 'Cannot kill container' in Docker
The Docker daemon fails to stop or kill a container with 'unknown error after kill'. This occurs when containers enter an inconsistent state due to AppArmor conflicts, zombie processes, or daemon issues.
0 viewsError response from daemon: Cannot kill container:...
BEGINNERLOW
How to fix 'Error response from daemon: Container already running' in Docker
The 'Container already running' error occurs when you try to start a Docker container that is already in a running state. Use docker exec to access the running container, or stop it first if you need to restart it.
0 viewsError response from daemon: Container already runn...
BEGINNERLOW
How to fix 'volume is in use' in Docker
The 'volume is in use' error occurs when Docker prevents you from removing a volume because a container (running or stopped) still references it. Stop and remove the dependent container first, or restart the Docker daemon if the reference is stale.
0 viewsError response from daemon: remove myvolume: volum...
BEGINNERLOW
How to fix 'Cannot pause container: Container is not running' in Docker
This error occurs when attempting to pause a Docker container that is not in the running state. You can only pause containers that are actively running - check the container status and start it first if needed.
0 viewsError response from daemon: Cannot pause container...
BEGINNERLOW
How to fix 'Cannot unpause container: Container is not paused' in Docker
This error occurs when you attempt to unpause a Docker container that is not in a paused state. Check the container's actual status with 'docker ps' and use the appropriate command for its current state.
0 viewsError response from daemon: Cannot unpause contain...
BEGINNERLOW
How to fix 'unauthorized: incorrect username or password' in Docker
The 'unauthorized: incorrect username or password' error occurs when Docker cannot authenticate with the container registry. This typically happens because you're using your email instead of username, your password contains special characters, or you need to use a Personal Access Token instead of your password.
0 viewsError response from daemon: Get https://registry-1...
BEGINNERLOW
How to fix 'cannot stop container: container is not running' in Docker
This error occurs when you attempt to stop or kill a Docker container that has already exited. It's a harmless informational message indicating the container is not in a running state and doesn't require stopping.
0 viewsError response from daemon: cannot stop container:...
BEGINNERLOW
How to fix 'Couldn't find env file' in Docker Compose
The 'Couldn't find env file' error in Docker Compose occurs when the env_file directive references a file that doesn't exist or can't be found. This is typically resolved by creating the missing .env file, correcting the file path, or removing the env_file directive if not needed.
0 viewsERROR: Couldn't find env file: .env
BEGINNERLOW
How to fix 'Volume declared as external, but could not be found' in Docker Compose
The 'Volume declared as external, but could not be found' error occurs when Docker Compose cannot locate a volume marked as external. External volumes must exist before running docker-compose and are typically created with `docker volume create`. This is resolved by either creating the volume first or removing the external flag to let Compose manage the volume automatically.
0 viewsERROR: Volume myvolume declared as external, but c...
BEGINNERLOW
How to fix 'removal of container is already in progress' in Docker
The 'removal of container is already in progress' error occurs when Docker is already attempting to delete a container and you try to remove it again. Wait for the operation to complete, or restart Docker if the container is stuck in a zombie state.
0 viewsError response from daemon: removal of container i...
BEGINNERLOW
How to fix 'No such service' in Docker Swarm
The 'No such service' error occurs when Docker Swarm cannot find a service matching the name you specified. This typically happens when the service was never deployed, has been removed, or you're running commands against a non-swarm node. Verify the service exists with docker service ls.
0 viewsError: No such service: myservice
INTERMEDIATEHIGH
How to fix 'Job for docker.service failed' in Docker
This error occurs when the Docker daemon fails to start on Linux systems using systemd. Common causes include disk space issues, invalid daemon.json configuration, firewall conflicts, or missing dependencies like iptables. Check journalctl logs for the specific cause.
0 viewsJob for docker.service failed because the control ...
INTERMEDIATEMEDIUM
How to fix 'pid file found, ensure docker is not running' in Docker
This error occurs when Docker's PID file exists but the daemon isn't properly running, typically after an unclean shutdown, system crash, or when attempting to start Docker while it's already running. The fix involves removing the stale PID file and properly restarting the Docker service.
0 viewsError starting daemon: pid file found, ensure dock...
BEGINNERMEDIUM
How to fix 'Got permission denied while trying to connect to the Docker daemon socket' in Docker
This error occurs when your user account lacks permission to access the Docker daemon socket at /var/run/docker.sock. The fix is to add your user to the docker group, which grants the necessary permissions without using sudo for every command.
0 viewsdocker: Got permission denied while trying to conn...
BEGINNERMEDIUM
How to fix 'Mounts denied: path is not shared from OS X' in Docker
This error occurs on macOS when Docker Desktop cannot access a directory you're trying to mount. You need to add the path to Docker's file sharing settings in Preferences before bind mounting it into a container.
0 viewsMounts denied: The path /Users/username/project is...
INTERMEDIATEMEDIUM
How to fix 'host is unreachable' in Docker
The 'dial tcp: connect: host is unreachable' error occurs when a Docker container cannot establish a network connection to a target host. This is typically caused by network configuration issues, firewall rules, incorrect IP forwarding settings, or DNS resolution problems.
0 viewsdial tcp: connect: host is unreachable
ADVANCEDMEDIUM
How to fix 'failed to create the macvlan port: device or resource busy' in Docker
This error occurs when Docker cannot create a macvlan network interface because the parent network interface is already in use or misconfigured. Common fixes include switching to ipvlan, using a different parent interface, or removing stale network configurations.
0 viewsError response from daemon: failed to create the m...
BEGINNERMEDIUM
How to fix 'repository not found: does not exist or no pull access' in Docker
The 'repository not found: does not exist or no pull access' error occurs when Docker cannot locate the specified image repository on the registry. This typically happens due to an incorrect repository name, the repository not existing, or lacking authentication for a private repository.
0 viewsError response from daemon: repository myregistry/...
BEGINNERMEDIUM
How to fix 'denied: requested access to the resource is denied' in Docker
The 'denied: requested access to the resource is denied' error occurs when Docker cannot authenticate or authorize access to a container registry. This typically happens when pushing images without proper tagging, missing authentication, or insufficient permissions on the target repository.
0 viewsdenied: requested access to the resource is denied
BEGINNERLOW
How to fix 'The container name is already in use' in Docker
The 'container name is already in use' error occurs when you try to create a new Docker container with a name that's already assigned to an existing container (even if stopped). Remove the old container, rename it, or use a different name for the new one.
0 viewsError response from daemon: Conflict. The containe...
BEGINNERLOW
How to fix 'ARG variable is undefined' in Docker
This Docker build error occurs when you reference an ARG variable that hasn't been declared, or when the ARG declaration loses scope due to multi-stage builds. Fix it by declaring ARG before use and redeclaring after each FROM instruction.
0 viewsARG variable is undefined
BEGINNERLOW
How to fix 'invalid port specification' in Docker
The 'invalid port specification' error occurs when Docker cannot parse a port value correctly. This is commonly caused by YAML parsing port numbers as base-60 values, incorrect port syntax, or invalid port numbers. The fix usually involves quoting port mappings in docker-compose.yml or correcting the port format.
0 viewsinvalid port specification
INTERMEDIATEMEDIUM
How to fix 'exec format error' in Docker
This error occurs when Docker cannot execute a binary or script due to architecture mismatch, missing shebang line, or incorrect file format. Common causes include running amd64 images on ARM hosts, scripts with Windows line endings (CRLF), or entrypoint files missing the #!/bin/bash shebang.
0 viewsexec format error
ADVANCEDHIGH
How to fix 'Exited (134)' SIGABRT abort in Docker
Exit code 134 indicates your Docker container terminated itself with SIGABRT (signal 6). This typically happens due to failed assertions, explicit abort() calls in code, memory corruption issues like double-free errors, or incompatible library bindings. Debugging requires examining application logs and potentially running with the --init flag.
0 viewsExited (134) - Container terminated with SIGABRT
BEGINNERMEDIUM
How to fix 'mapping values are not allowed in this context' in Docker Compose
The 'mapping values are not allowed in this context' error occurs when Docker Compose fails to parse your YAML file due to indentation issues, tabs instead of spaces, missing spaces after colons, or hidden Unicode characters. This is one of the most common YAML syntax errors.
0 viewsyaml: line X: mapping values are not allowed in th...
BEGINNERMEDIUM
How to fix 'port is already allocated' in Docker Compose
The 'port is already allocated' error occurs when Docker Compose tries to bind a service to a host port that's already in use by another container or process. Find and stop the conflicting process, use a different port, or restart Docker.
0 viewsBind for 0.0.0.0:3000 failed: port is already allo...
INTERMEDIATEMEDIUM
How to fix 'secret is not defined' in Docker Compose
The 'secret is not defined' error in Docker Compose occurs when a service references a secret that hasn't been declared in the top-level secrets section of your compose file. Fix it by defining the secret at the top level with either a file source or external reference.
0 viewssecret "mysecret" is not defined
BEGINNERLOW
How to fix 'stage name cannot start with a number' in Docker
This Docker build error occurs when you name a multi-stage build stage with a string that starts with a number. Docker stage names must begin with an alphabetic character and follow specific naming conventions.
0 viewsinvalid stage name: stage name cannot start with a...
BEGINNERLOW
How to fix 'required build argument not set' in Docker
This Docker build error occurs when a required ARG instruction in your Dockerfile is not provided a value during the build process. The fix involves passing the missing argument using the --build-arg flag or providing a default value in the Dockerfile.
0 viewsfailed to process: required build argument not set
BEGINNERMEDIUM
How to fix 'Missing required environment variable' in Docker Compose
The 'Missing required environment variable' error in Docker Compose occurs when using the `${VAR?error}` or `${VAR:?error}` syntax to require a variable that isn't set in your environment. This is resolved by setting the required variable, providing a default value, or using an .env file.
0 viewsERROR: Missing required environment variable
INTERMEDIATEMEDIUM
How to fix 'Client.Timeout exceeded' when connecting to Docker registry
The 'Client.Timeout exceeded' error occurs when Docker cannot complete a connection to a registry (Docker Hub, private registry, or self-hosted) within the default timeout period. This is typically caused by network connectivity issues, proxy misconfigurations, DNS problems, firewall restrictions, or the registry being unreachable.
0 viewsError response from daemon: Get https://myregistry...
BEGINNERLOW
How to fix 'Network declared as external, but could not be found' in Docker Compose
This error occurs when Docker Compose tries to connect a service to an external network that doesn't exist. External networks must be created manually using 'docker network create' before running docker-compose, or you can remove the external flag to let Compose create the network automatically.
0 viewsERROR: Network mynetwork declared as external, but...
INTERMEDIATEMEDIUM
How to fix 'layer verification failed' in Docker
This error occurs when Docker cannot verify the integrity of a downloaded image layer, typically due to network issues, corrupted downloads, or registry problems. Fixes include restarting Docker, clearing the cache, and re-pulling the image.
0 viewsError response from daemon: layer verification fai...
INTERMEDIATEMEDIUM
How to fix 'image layer sha256 mismatch' in Docker
This error occurs when a Docker image layer's content doesn't match its expected SHA256 digest during pull, build, or push operations. The fix typically involves clearing Docker's cache, restarting the daemon, or re-pulling affected images.
0 viewsError response from daemon: image layer sha256 mis...
ADVANCEDHIGH
How to fix 'OCI runtime create failed: runsc error' in Docker
This error occurs when Docker cannot start a container using gVisor's runsc runtime. Common causes include incorrect installation, misconfigured Docker daemon, kernel incompatibilities, or SELinux restrictions.
0 viewsError response from daemon: OCI runtime create fai...
INTERMEDIATEHIGH
How to fix 'aufs not supported over overlay' in Docker
This error occurs when Docker tries to use the AUFS storage driver on a filesystem that already uses OverlayFS. AUFS cannot be layered on top of overlay filesystems. The solution is to migrate to the overlay2 storage driver, which is the modern recommended driver for most Linux systems.
0 viewsError starting daemon: error initializing graphdri...
BEGINNERMEDIUM
How to fix 'no space left on device' during Docker build
This error occurs when Docker runs out of disk space during an image build. The Docker daemon cannot write temporary files or layer data because the partition hosting /var/lib/docker is full.
0 viewswrite /var/lib/docker/tmp/...: no space left on de...
BEGINNERLOW
How to fix 'unauthorized: authentication required' in Docker
The 'unauthorized: authentication required' error occurs when Docker cannot authenticate with a container registry. This typically happens when you haven't logged in, your credentials have expired, or you're pushing to the wrong registry URL.
0 viewsError response from daemon: unauthorized: authenti...
BEGINNERMEDIUM
How to fix 'Docker Desktop requires Rosetta 2' in Docker
This error appears on Apple Silicon Macs when Docker Desktop needs Rosetta 2 for x86/amd64 emulation. Install Rosetta 2 via Terminal or enable the Rosetta setting in Docker Desktop to run Intel-based containers on M1/M2/M3 Macs.
0 viewsDocker Desktop requires Rosetta 2 to be installed
INTERMEDIATEHIGH
How to fix 'operating system: not supported' in Docker
This error occurs when Docker cannot start a container because the host system lacks required virtualization support, or there is a mismatch between container OS type and Docker's configuration. Common fixes include enabling virtualization in BIOS, switching between Linux and Windows container modes, or updating WSL 2.
0 viewsError response from daemon: failed to start: opera...
BEGINNERMEDIUM
How to fix 'bind source path does not exist' in Docker
This error occurs when Docker cannot find the host directory or file you're trying to bind mount into a container. The source path must exist on the host before using the --mount flag.
0 viewsError response from daemon: invalid mount config: ...
INTERMEDIATEHIGH
How to fix 'error initializing graphdriver: could not locate zfs dataset' in Docker
This error occurs when Docker is configured to use the ZFS storage driver but cannot find a valid ZFS dataset mounted at /var/lib/docker. The solution involves creating a dedicated ZFS dataset for Docker and properly configuring the storage driver.
0 viewsError starting daemon: error initializing graphdri...
BEGINNERLOW
How to fix 'plugin already exists' in Docker
The 'plugin already exists' error occurs when you try to install a Docker plugin that is already installed on your system. To resolve this, you need to disable and remove the existing plugin before reinstalling, or upgrade it if you want the latest version.
0 viewsError response from daemon: plugin already exists
INTERMEDIATEMEDIUM
How to fix 'x509: certificate signed by unknown authority' in Docker
This error occurs when Docker cannot verify the SSL/TLS certificate of a registry or server. It typically happens with private registries using self-signed certificates, corporate proxies that intercept HTTPS traffic, or when the CA certificate is not installed on the Docker host.
0 viewsx509: certificate signed by unknown authority
INTERMEDIATEMEDIUM
How to fix 'image was found but does not match the specified platform' in Docker
This error occurs when Docker finds an image in the registry but it doesn't have a variant for your requested platform (architecture). This commonly happens when pulling images on ARM-based systems (Apple Silicon, Raspberry Pi) where the image only supports x86/amd64. The fix involves using multi-architecture images, building for the correct platform, or enabling emulation.
0 viewsimage with reference was found but does not match ...
INTERMEDIATEMEDIUM
How to fix 'write: connection timed out' in Docker
The 'write: connection timed out' error occurs when Docker fails to complete a network write operation within the expected time. This typically happens during image push/pull operations, container-to-container communication, or when connecting to external services due to network congestion, firewall rules, or MTU mismatches.
0 viewswrite: connection timed out
INTERMEDIATEMEDIUM
How to fix 'multiple platforms feature is currently not supported for docker driver' in Docker
This error occurs when attempting to build multi-platform Docker images using the default docker driver, which does not support multi-architecture builds. The solution is to create a new builder that uses the docker-container driver.
0 viewsERROR: multiple platforms feature is currently not...
BEGINNERLOW
How to fix 'no basic auth credentials' in Docker
The 'no basic auth credentials' error occurs when Docker cannot find authentication credentials for a container registry. This typically happens when you haven't logged in to the registry, credentials have expired, or there's a mismatch between your login context and the command execution context.
0 viewsno basic auth credentials
INTERMEDIATEMEDIUM
How to fix 'no matching manifest for linux/amd64' in Docker
This error occurs when Docker cannot find an image variant built for your system's CPU architecture (linux/amd64). Common when pulling ARM-only images on Intel/AMD machines, or when using outdated tags. Fix by specifying the correct platform, finding multi-arch images, or building your own.
0 viewsError response from daemon: no matching manifest f...
INTERMEDIATEMEDIUM
How to fix 'server gave HTTP response to HTTPS client' in Docker
This error occurs when Docker attempts to connect to a registry over HTTPS, but the registry is only serving plain HTTP. Docker defaults to secure HTTPS connections for all registries, so you must explicitly configure it to allow insecure HTTP connections to specific registries.
0 viewsError response from daemon: Get https://myregistry...
INTERMEDIATELOW
How to fix 'unable to delete image: image has dependent child images' in Docker
The 'image has dependent child images' error occurs when Docker prevents deletion of a parent image because other images were built using it as a base. You must delete all child images first, use tags instead of IDs, or use the force flag with caution.
0 viewsError response from daemon: conflict: unable to de...
INTERMEDIATEMEDIUM
How to fix 'error loading AppArmor profile' in Docker
This error occurs when Docker cannot load its default AppArmor security profile. The fix typically involves installing the apparmor package, restarting the AppArmor service, or running containers with AppArmor disabled.
0 viewsError response from daemon: error loading AppArmor...
INTERMEDIATEMEDIUM
How to fix 'NFS mount failed' in Docker
This error occurs when Docker cannot mount an NFS volume to a container. Common causes include incorrect NFS server configuration, missing NFS client utilities, network connectivity issues, or permission problems.
0 viewsError response from daemon: error while mounting v...
INTERMEDIATEHIGH
How to fix 'overlay2 not supported over xfs with backing filesystem' in Docker
This error occurs when Docker attempts to use the overlay2 storage driver on an XFS filesystem that was formatted without d_type (directory entry type) support. The XFS filesystem must be formatted with ftype=1 to enable d_type support required by overlay2.
0 viewsError starting daemon: error initializing graphdri...
INTERMEDIATEMEDIUM
How to fix 'Error response from daemon: privileged mode is required' in Docker
This error occurs when a Docker container requires elevated privileges to access host resources, devices, or kernel capabilities that are restricted by default. The solution involves either running with --privileged flag or, preferably, granting only the specific capabilities needed.
0 viewsError response from daemon: privileged mode is req...
ADVANCEDMEDIUM
How to fix 'user namespace remapping is not supported' in Docker
This error occurs when Docker's user namespace remapping feature (userns-remap) is enabled but the host kernel doesn't support user namespaces, or required configuration files are missing. The fix involves enabling kernel support for user namespaces and properly configuring the /etc/subuid and /etc/subgid files.
0 viewsError response from daemon: user namespace remappi...
BEGINNERMEDIUM
How to fix 'build path either does not exist, is not accessible' in Docker Compose
This error occurs when Docker Compose cannot find or access the build context directory specified in your docker-compose.yml file. The build context path may be misspelled, point to a non-existent directory, use incorrect relative paths, or have permission restrictions preventing access.
0 viewsERROR: build path either does not exist, is not ac...
INTERMEDIATEMEDIUM
How to fix 'Docker Desktop is starting...' stuck issue
This issue occurs when Docker Desktop gets stuck on the 'Starting...' screen and never fully initializes. It commonly affects Windows and Mac users after system updates, sleep/wake cycles, or when WSL/Hyper-V components become misconfigured.
0 viewsDocker Desktop is starting...
BEGINNERLOW
How to fix 'Invalid project name' in Docker Compose
This error occurs when your Docker Compose project name contains invalid characters. Project names must contain only lowercase letters, numbers, dashes, and underscores, and must start with a letter or number. The fix is to rename your directory or explicitly set a valid project name.
0 viewsERROR: Invalid project name
INTERMEDIATEHIGH
How to fix 'SELinux is not supported with the overlay2 graph driver on this kernel' in Docker
Docker fails to start containers when SELinux labeling is enabled but the kernel lacks overlay2/overlayfs support. Use fuse-overlayfs or a compatible driver, or upgrade to a kernel that supports SELinux with overlay2.
0 viewsError response from daemon: SELinux is not support...
BEGINNERLOW
How to fix 'Cannot find service referenced in extends' in Docker Compose
This error occurs when Docker Compose cannot locate the service you're trying to extend. The extends feature allows you to share common configurations between services, but requires the base service to be properly defined and accessible in the referenced file.
0 viewsERROR: Cannot find service 'base' referenced in ex...
INTERMEDIATEMEDIUM
How to fix zombie process detected in container in Docker
This error occurs when orphaned child processes in a Docker container are not properly reaped, leading to zombie processes that accumulate over time. The fix involves using an init system like tini or Docker's --init flag to handle process reaping as PID 1.
0 viewszombie process detected in container
INTERMEDIATEMEDIUM
How to fix 'client version is too new' in Docker
This error occurs when your Docker client uses a newer API version than the Docker daemon supports. The solution involves either upgrading the daemon or setting the DOCKER_API_VERSION environment variable.
0 viewsError response from daemon: client version X.XX is...
INTERMEDIATEMEDIUM
How to fix 'client version is too old. Minimum supported API version' in Docker
This error occurs when your Docker client uses an older API version than the minimum supported by the Docker daemon. Common after Docker Engine 29.0 upgrade which raised the minimum API to v1.44. Fix by updating the client, lowering daemon's minimum API, or using DOCKER_API_VERSION.
0 viewsError response from daemon: client version X.XX is...
INTERMEDIATEMEDIUM
How to fix 'invalid argument' in Docker
This generic Docker error occurs when the daemon receives malformed input, such as incompatible storage driver configurations, invalid volume mount options, incorrect port mappings, or filesystem compatibility issues.
0 viewsError response from daemon: invalid argument
INTERMEDIATEMEDIUM
How to fix 'EACCES: permission denied' in Docker containers
The EACCES permission denied error occurs when a process inside a Docker container lacks write access to a directory, typically node_modules. This commonly happens due to UID/GID mismatches between the host and container or incorrect ownership after switching users in a Dockerfile.
0 viewsEACCES: permission denied, open '/app/node_modules...
INTERMEDIATEMEDIUM
How to fix '500 Internal Server Error' in Docker
This error occurs when the Docker daemon or a container registry encounters an internal failure. Common causes include registry issues, disk space problems, storage driver errors, or daemon resource exhaustion.
0 viewsError response from daemon: 500 Internal Server Er...
BEGINNERMEDIUM
How to fix "Could not find a version that satisfies the requirement" in Docker
This pip error occurs during Docker builds when a Python package cannot be found or is incompatible with your Python version, architecture, or network configuration.
0 viewsERROR: Could not find a version that satisfies the...
BEGINNERLOW
How to fix 'mount path must be absolute' in Docker
This error occurs when you specify a relative path (like . or ./app) for a volume mount instead of an absolute path. Docker requires the full, complete path starting from the root directory for bind mounts to work correctly.
0 viewsError response from daemon: invalid mount config: ...
INTERMEDIATEMEDIUM
How to fix "OCI runtime create failed: executable file not found" in Docker
The command or entrypoint specified cannot be found in the container. Check that the executable exists in the image, is in PATH, and has correct permissions.
0 viewsOCI runtime create failed: container_linux.go:380:...
INTERMEDIATEHIGH
How to fix 'runc: executable file not found in $PATH' in Docker
The 'runc not found' error occurs when Docker cannot locate the runc binary, which is the OCI-compliant container runtime that actually creates and runs containers. This typically happens after Docker upgrades or when using distribution-specific packages.
0 viewsOCI runtime create failed: unable to retrieve OCI ...
INTERMEDIATEMEDIUM
How to fix 'OCI runtime create failed: exec: permission denied' in Docker
This error occurs when Docker cannot execute the entrypoint or command inside a container due to missing execute permissions on the target file, an invalid shebang, or SELinux/AppArmor blocking execution.
0 viewsOCI runtime create failed: container_linux.go: sta...
BEGINNERMEDIUM
How to fix 'Cannot connect to Docker daemon' in Docker
This error occurs when the Docker client cannot communicate with the Docker daemon. The fix typically involves starting the Docker service or fixing permission issues.
0 viewsCannot connect to the Docker daemon at unix:///var...
INTERMEDIATEMEDIUM
How to fix "exec format error" in Docker
The container binary or script cannot run on the current CPU architecture. This usually means an image built for a different architecture (e.g., ARM vs x86) or a script missing its shebang line.
0 viewsexec /usr/local/bin/docker-entrypoint.sh: exec for...
INTERMEDIATEHIGH
How to fix "driver failed programming external connectivity" in Docker
Docker cannot configure network port forwarding. Usually caused by port conflicts, firewall rules, or Docker network driver issues. Restart Docker or check for port conflicts.
0 viewsCannot start service web: driver failed programmin...
BEGINNERLOW
How to fix 'Ports are not available' in Docker
This error occurs when Docker cannot bind a container port to your host machine because the port is already in use by another process or blocked by the operating system.
0 viewsCannot start service app: Ports are not available:...
INTERMEDIATEMEDIUM
How to fix 'failed to create endpoint' in Docker
This error occurs when Docker cannot create a network endpoint for a container because an endpoint with the same name already exists on the network, usually due to a stale endpoint left behind after a container was improperly removed or the Docker daemon state became inconsistent.
0 viewsfailed to create endpoint mycontainer on network b...
BEGINNERLOW
How to fix 'network not found' in Docker
The Docker "network not found" error occurs when you try to connect a container to a network that does not exist or has been deleted. This is typically resolved by creating the missing network or recreating your containers with the correct network configuration.
0 viewsError response from daemon: network mynetwork not ...
BEGINNERMEDIUM
How to fix 'executable file not found' caused by Windows line endings in Docker
This error occurs when a shell script has Windows-style line endings (CRLF), causing Docker to interpret the shebang line literally as '#!/bin/bash\r' instead of '#!/bin/bash'. Converting the script to Unix line endings (LF) fixes the issue.
0 viewsexec: "#!/bin/bash\r": executable file not found i...
BEGINNERLOW
How to fix 'invalid reference format' in Docker
The Docker 'invalid reference format' error means Docker cannot parse your image name. Common causes include uppercase letters, spaces in paths, unset environment variables, or copy-pasted special characters. Fix it by using lowercase names, quoting paths, and verifying your image reference syntax.
0 viewsError response from daemon: invalid reference form...
INTERMEDIATEMEDIUM
BuildKit Cache Mount Failed
This error occurs when Docker BuildKit cannot create or access a cache mount during the build process. It is typically caused by permission issues, incorrect mount syntax, or file system constraints.
0 viewsfailed to solve: failed to prepare cache mount: fa...
INTERMEDIATEMEDIUM
How to fix 'connection reset by peer' in Docker
The 'connection reset by peer' error occurs when the Docker daemon unexpectedly closes the connection to the Docker socket. This typically indicates daemon crashes, resource exhaustion, or socket communication issues.
0 viewserror during connect: Post http://%2Fvar%2Frun%2Fd...
BEGINNERLOW
How to fix 'address already in use' in Docker
The 'address already in use' error occurs when Docker tries to bind a container port to a host port that's already occupied by another process or container. Identify and stop the conflicting process, or use a different port.
0 viewsError starting userland proxy: listen tcp4 0.0.0.0...
BEGINNERLOW
How to fix 'manifest not found' in Docker
The 'manifest not found' or 'manifest unknown' error occurs when Docker cannot locate the image manifest in the registry. This typically happens because the image tag doesn't exist, the image name is misspelled, or the 'latest' tag was never pushed to the repository.
0 viewsError response from daemon: manifest for myimage:l...
BEGINNERMEDIUM
How to fix 'You have reached your pull rate limit' in Docker
The Docker Hub rate limit error occurs when you exceed the allowed number of image pulls. Unauthenticated users are limited to 10 pulls per hour, while authenticated free users get 40 pulls per hour. Fix this by authenticating with Docker Hub, using a registry mirror, or mirroring images to a private registry.
0 viewstoomanyrequests: You have reached your pull rate l...
BEGINNERLOW
How to fix 'COPY failed: file not found in build context' in Docker
This error occurs when Docker cannot locate a file or directory you're trying to copy during the build process. The file may be outside the build context, excluded by .dockerignore, or the path may be incorrect.
0 viewsCOPY failed: file not found in build context or ex...
BEGINNERLOW
How to fix "ADD failed: file not found in build context" in Docker
This error occurs when Docker's ADD or COPY instruction tries to access a file that either doesn't exist in the build context directory, is located outside the context, or is excluded by .dockerignore.
0 viewsADD failed: file not found in build context or exc...
INTERMEDIATEHIGH
How to fix Docker OOM Killed (Out of Memory)
This error occurs when a Docker container exceeds its memory limit and the Linux kernel's OOM (Out of Memory) killer terminates it. The fix involves setting appropriate memory limits, optimizing application memory usage, and configuring swap settings.
0 viewsContainer killed due to OOM (Out of Memory)
BEGINNERMEDIUM
How to fix 'two-factor authentication is required' in Docker login
The 'two-factor authentication is required' error occurs when your Docker Hub account has 2FA enabled, but you're trying to log in with your password instead of a Personal Access Token (PAT). Docker Hub requires access tokens for CLI authentication when two-factor authentication is active.
0 viewsError response from daemon: unauthorized: two-fact...
BEGINNERLOW
How to fix 'dockerfile parse error: unknown instruction' in Docker
This error occurs when Docker encounters an unrecognized command or malformed syntax in your Dockerfile. Common causes include file encoding issues, missing RUN prefixes, incorrect line continuations, or Windows line endings (CRLF vs LF).
0 viewsdockerfile parse error line X: unknown instruction
BEGINNERLOW
How to fix 'unable to delete image: image is being used by stopped container' in Docker
The 'unable to delete image - image is being used by stopped container' error occurs when you try to remove a Docker image that still has one or more stopped containers associated with it. Remove the stopped containers first, or use the force flag to delete the image anyway.
0 viewsError response from daemon: conflict: unable to de...
BEGINNERLOW
How to fix 'No such container' in Docker
The 'No such container' error occurs when Docker cannot find a container you're trying to interact with. This typically happens when using an incorrect container name or ID, or when the container has already been removed.
0 viewsError: No such container: mycontainer
BEGINNERLOW
How to fix 'container name is already in use' in Docker
This error occurs when you try to create or start a Docker container with a name that's already taken by an existing container. Even stopped containers keep their names until removed.
0 viewsError response from daemon: Conflict. The containe...
INTERMEDIATEMEDIUM
How to fix Docker exit code 125
Docker exit code 125 occurs when the docker run command itself fails before the container can start. This typically indicates a problem with the Docker daemon, invalid command syntax, or system resource conflicts.
0 viewsdocker: Error response from daemon (exit status 12...
BEGINNERLOW
How to fix 'WORKDIR: cannot change directory: no such file or directory' in Docker
The WORKDIR error occurs when Docker cannot change to the specified directory during a container run or build. This typically happens with multi-stage builds, incorrect base images, or when running containers with a WORKDIR that was not created. Verify your Dockerfile structure or use absolute paths.
0 viewsWORKDIR: cannot change directory to /app: no such ...
BEGINNERMEDIUM
How to fix Docker exit code 127 (command not found)
Exit code 127 indicates that a command specified in your Docker container could not be found. This is a standard Linux/Unix shell error code meaning the shell cannot locate the executable you're trying to run.
0 viewsContainer exited with code 127: command not found
BEGINNERMEDIUM
How to fix 'cannot find /usr/bin/python: No such file or directory' in Docker
This error occurs when a Docker container tries to execute a script or command that requires Python, but the Python interpreter is not installed or is at a different path in the container's filesystem.
0 viewscannot find /usr/bin/python: No such file or direc...
ADVANCEDHIGH
How to fix Docker exit code 139 (Segmentation fault)
Exit code 139 occurs when a Docker container receives SIGSEGV (signal 11), indicating a segmentation fault caused by invalid memory access. This typically results from application bugs, library incompatibilities, or hardware issues requiring debugging and code analysis to resolve.
0 viewsContainer exited with code 139 (SIGSEGV - Segmenta...
BEGINNERLOW
How to fix 'invalid volume specification' in Docker
This error occurs when Docker cannot parse the volume mount syntax in your docker run command or docker-compose.yml. Common causes include missing colons, relative paths, unset environment variables, or incorrect path formatting on Windows.
0 viewsError response from daemon: invalid volume specifi...
BEGINNERLOW
How to fix 'Version in docker-compose.yml is unsupported' in Docker
The 'Version in docker-compose.yml is unsupported' error occurs when your Docker Compose file specifies a version number that your installed docker-compose tool doesn't recognize. This is typically resolved by upgrading Docker Compose, removing the version field entirely (for Compose V2), or lowering the version number.
0 viewsERROR: Version in './docker-compose.yml' is unsupp...
BEGINNERMEDIUM
How to fix "failed to mount local volume" in Docker
This error occurs when Docker cannot mount a volume because the specified source path on the host machine does not exist. This commonly happens with bind mounts when the host directory has not been created, the path contains typos, or relative paths are used instead of absolute paths.
0 viewsError response from daemon: failed to mount local ...
BEGINNERLOW
How to fix 'requested access to the resource is denied' in Docker
The 'requested access to the resource is denied' error occurs when pushing a Docker image to a registry. This typically happens because the image is not tagged with your Docker Hub username, you are not logged in, or you are trying to push to a repository you do not own.
0 viewsdenied: requested access to the resource is denied
INTERMEDIATEMEDIUM
How to fix 'Error saving credentials' in Docker
The 'Error saving credentials' error occurs when Docker cannot store your login credentials using the configured credential helper. This typically happens due to misconfigured credential helpers, uninitialized password stores, or permission issues with the Docker configuration directory.
0 viewsError saving credentials: error storing credential...
INTERMEDIATEMEDIUM
How to fix 'Unexpected WSL error' in Docker Desktop
This error occurs when Docker Desktop fails to communicate with the Windows Subsystem for Linux (WSL 2) backend. It typically appears on Windows 10/11 when WSL components are misconfigured, outdated, or conflicting with other software like VPNs or Hyper-V settings.
0 viewsDocker Desktop - Unexpected WSL error
INTERMEDIATEHIGH
How to fix 'Hardware assisted virtualization must be enabled' in Docker
This error occurs when Docker Desktop cannot detect hardware virtualization support. You need to enable virtualization (VT-x/AMD-V) in your BIOS/UEFI settings and ensure Hyper-V or WSL 2 is properly configured in Windows.
0 viewsHardware assisted virtualization and data executio...
INTERMEDIATEMEDIUM
How to fix 'docker-credential-desktop: executable file not found' in Docker
The 'docker-credential-desktop executable file not found' error occurs when Docker cannot locate the credential helper binary specified in your configuration. This commonly happens after uninstalling Docker Desktop, switching between Docker installations, or when the credential helper path is misconfigured.
0 viewserror getting credentials - err: exec: "docker-cre...
BEGINNERLOW
How to fix 'command not found' in Docker containers
This error occurs when Docker tries to execute a command or binary that doesn't exist in the container's filesystem or isn't in the PATH. It commonly happens with minimal base images like Alpine or when using the scratch base image that lacks shell utilities.
0 views/bin/sh: 1: mycommand: not found
INTERMEDIATEMEDIUM
How to fix 'Error processing tar file: unexpected EOF' in Docker
The 'Error processing tar file: unexpected EOF' occurs when Docker cannot properly read or extract tar archives during image builds or pulls. This typically indicates insufficient disk space, memory constraints, file permission issues, or corrupted archives.
0 viewsError processing tar file(exit status 1): unexpect...
INTERMEDIATEMEDIUM
How to fix 'no build stage in current context' in Docker
This Docker BuildKit error occurs when your Dockerfile has syntax issues preventing proper build stage detection. Most commonly caused by instructions placed before the FROM statement or incorrect multi-stage build references.
0 viewsfailed to solve: failed to compute cache key: fail...
BEGINNERLOW
How to fix 'WORKDIR: path must be absolute' in Docker
This error occurs when you use a relative path in a Dockerfile WORKDIR instruction without first establishing an absolute base path. Docker requires WORKDIR paths to start with a leading slash (/) to ensure predictable, portable builds.
0 viewsWORKDIR: path must be absolute
BEGINNERLOW
How to fix Docker exit code 143 (SIGTERM)
Exit code 143 indicates that a Docker container received a SIGTERM signal and terminated gracefully. This is typically a normal shutdown behavior when stopping containers with docker stop, during orchestrator scaling, or when manually terminating processes.
0 viewsContainer exited with code 143 (SIGTERM)
INTERMEDIATEHIGH
How to fix Docker exit code 137 (OOMKilled)
Exit code 137 indicates your Docker container was forcibly terminated by the system's out-of-memory (OOM) killer. This occurs when a container exceeds its allocated memory limit or the host system runs out of available memory.
0 viewsContainer exited with code 137 (OOMKilled)
BEGINNERMEDIUM
How to fix Docker exit code 1
Exit code 1 is a generic error indicating that a Docker container's process terminated due to an application error or misconfiguration. This catch-all error can stem from incorrect Dockerfile references, missing dependencies, or runtime exceptions within the containerized application.
0 viewsContainer exited with status code 1
BEGINNERMEDIUM
How to fix 'Service failed to build' in Docker Compose
This error occurs when Docker Compose cannot build one of your services. The root cause is usually a Dockerfile syntax error, missing files in the build context, incorrect paths, or insufficient system resources like memory or disk space.
0 viewsERROR: Service 'app' failed to build
BEGINNERLOW
How to fix YAML syntax errors in Docker Compose
The yaml.scanner.ScannerError in Docker Compose occurs when the YAML parser encounters invalid syntax, usually due to tabs instead of spaces, incorrect indentation, or missing spaces after colons. This is one of the most common Docker Compose errors and is easily fixed by validating your YAML file.
0 viewsERROR: yaml.scanner.ScannerError: while scanning a...
INTERMEDIATELOW
How to fix 'depends_on condition is invalid' in Docker Compose
This error occurs when using the condition syntax with depends_on in Docker Compose. It typically happens because Compose version 3 removed support for conditions, but modern Docker Compose (v2+) has restored this feature under the Compose Specification.
0 viewsERROR: for app Container depends_on condition on d...
BEGINNERMEDIUM
How to fix 'exec user process caused: no such file or directory' in Docker
This error occurs when Docker cannot execute an entrypoint script or binary, typically because of Windows-style line endings (CRLF) in shell scripts. Converting files to Unix line endings (LF) resolves the issue in most cases.
0 viewsstandard_init_linux.go: exec user process caused: ...
ADVANCEDHIGH
How to fix 'unable to apply cgroup' OCI runtime error in Docker
This error occurs when Docker cannot apply cgroup (control group) configuration during container initialization. It typically happens due to cgroup version mismatches, missing cgroup mounts, D-Bus session issues in rootless mode, or insufficient permissions. The fix depends on your environment and cgroup version.
0 viewsOCI runtime create failed: unable to start contain...
BEGINNERMEDIUM
How to fix 'WSL 2 requires an update to its kernel component' in Docker
This error occurs when Docker Desktop on Windows cannot start because the WSL 2 Linux kernel is outdated. The fix is straightforward: update WSL using the command line or download the kernel update manually from Microsoft.
0 viewsWSL 2 requires an update to its kernel component
BEGINNERHIGH
How to fix 'WSL 2 is not installed' in Docker Desktop
This error appears when Docker Desktop cannot find WSL 2 (Windows Subsystem for Linux 2) on your Windows system. Docker Desktop requires WSL 2 as its backend to run Linux containers on Windows 10/11, and this message indicates the required Windows features are not enabled or properly configured.
0 viewsWSL 2 is not installed
INTERMEDIATEHIGH
How to fix 'The WSL distribution docker-desktop does not exist' in Docker
This error occurs when Docker Desktop cannot find its internal WSL 2 distribution named 'docker-desktop'. The distribution is essential for running the Docker engine on Windows and may be missing due to failed installation, corruption, or manual removal.
0 viewsThe WSL distribution "docker-desktop" does not exi...
BEGINNERLOW
How to fix 'yaml: unmarshal errors: cannot unmarshal' in Docker Compose
This error occurs when Docker Compose cannot parse your YAML file due to type mismatches, invalid syntax, or formatting issues. The YAML parser expects a specific data type but receives something incompatible.
0 viewsyaml: unmarshal errors: cannot unmarshal
INTERMEDIATEMEDIUM
How to fix 'no suitable node (scheduling constraints not satisfied)' in Docker Swarm
This error occurs when Docker Swarm cannot find any node in the cluster that matches the placement constraints specified for a service. The fix involves adding the required labels to nodes or adjusting your service constraints.
0 viewsError response from daemon: no suitable node (sche...
INTERMEDIATEHIGH
How to fix 'Hardware assisted virtualization must be enabled in the BIOS' in Docker
This Docker Desktop error occurs when Windows cannot detect hardware virtualization support (VT-x/AMD-V) required to run containers. The fix involves enabling virtualization in your BIOS settings and ensuring Hyper-V or WSL 2 features are properly configured in Windows.
0 viewsHardware assisted virtualization and data executio...
INTERMEDIATEHIGH
How to fix 'kernel does not support overlay fs' in Docker
This error occurs when Docker attempts to use the OverlayFS storage driver but your Linux kernel either lacks OverlayFS support, has an incompatible kernel version, or the backing filesystem doesn't meet requirements like d_type support.
0 viewsError starting daemon: error initializing graphdri...
BEGINNERMEDIUM
How to fix '/bin/sh: command not found' in Docker
This error occurs when Docker's shell cannot locate a command you're trying to run inside a container. Common causes include missing binaries, incorrect shebangs, Windows line endings, or using minimal base images without a shell.
0 views/bin/sh: command not found
BEGINNERLOW
How to fix 'invalid join token' in Docker Swarm
This error occurs when attempting to join a node to a Docker Swarm cluster with an incorrect, malformed, or expired join token. The join token must match exactly what the swarm manager provides and be used for the correct role (worker or manager).
0 viewsError response from daemon: invalid join token
INTERMEDIATEHIGH
How to fix 'Docker Desktop requires a factory reset' error
This error appears when Docker Desktop detects corrupted configuration, incompatible settings after an update, or damaged internal data that prevents normal startup. A factory reset clears all Docker data and settings, returning Docker Desktop to its initial installation state.
0 viewsDocker Desktop requires a factory reset
BEGINNERMEDIUM
How to fix 'image operating system windows cannot be used on this platform' in Docker
This error occurs when you try to pull or run a Windows container image while Docker is configured to use Linux containers. Docker Desktop on Windows can run either Linux or Windows containers, but not both simultaneously. Switch Docker to Windows container mode or use a Linux-based image instead.
0 viewsimage operating system "windows" cannot be used on...
BEGINNERMEDIUM
How to fix 'Docker Desktop is not running' error
This error occurs when Docker commands fail because the Docker Desktop application has not been started. Docker Desktop must be running in the background for the Docker CLI to function on Windows and macOS.
0 viewsDocker Desktop is not running
BEGINNERLOW
How to fix 'You cannot attach to a stopped container' in Docker
The 'docker attach' command fails because the container is not running. Start the container first with 'docker start' before attaching, or use 'docker start -ai' for interactive containers.
0 viewsError response from daemon: You cannot attach to a...
INTERMEDIATEHIGH
How to fix 'cannot reach manager node' in Docker Swarm
This error occurs when a Docker Swarm node cannot communicate with the manager node, typically due to network connectivity issues, firewall rules blocking required ports, or when the manager node has lost quorum. The fix involves verifying network connectivity, ensuring required ports are open, and potentially recovering the swarm cluster.
0 viewsError response from daemon: cannot reach manager n...
INTERMEDIATEHIGH
How to fix 'Disk quota exceeded' in Docker
This error occurs when Docker operations fail due to disk space limitations, inode exhaustion, or kernel keyring limits. The fix involves pruning unused Docker resources, increasing disk space or inodes, and adjusting kernel parameters.
0 viewsDisk quota exceeded
INTERMEDIATEMEDIUM
How to fix 'plugin not found' for Docker volume driver
The 'plugin not found' error occurs when Docker cannot locate a volume driver plugin that was specified in a volume definition. Install the required plugin, verify its name, or switch to the default 'local' driver.
0 viewsError response from daemon: plugin "mydriver" not ...
BEGINNERLOW
How to fix 'Conflicting options: --restart and --rm' in Docker
The '--restart and --rm' conflict error occurs when you use both flags together in a docker run command. These options are mutually exclusive because --rm removes the container on exit while --restart keeps it alive for restarts.
0 viewsConflicting options: --restart and --rm
BEGINNERLOW
How to fix 'Container exited with code 130 (SIGINT)' in Docker
Exit code 130 indicates that a Docker container was terminated by SIGINT (signal 2), typically triggered by pressing Ctrl+C. The exit code follows the Unix convention of 128 + signal number, so 128 + 2 = 130. This is normal behavior when manually stopping a container, not an error.
0 viewsContainer exited with code 130 (SIGINT - Ctrl+C)
BEGINNERLOW
How to fix 'secret is in use by the following services' in Docker Swarm
The 'secret is in use by the following services' error occurs when you attempt to delete a Docker Swarm secret that is still referenced by one or more services. Remove the secret from the services first using `docker service update --secret-rm`, or delete the services entirely before removing the secret.
0 viewsError response from daemon: secret is in use by th...
BEGINNERHIGH
How to fix 'no space left on device' when pulling Docker images
This error occurs when Docker cannot extract image layers during a pull operation because the disk where Docker stores its data has run out of space. The solution involves cleaning up unused Docker resources and ensuring sufficient disk space.
0 viewsfailed to extract layer: write /: no space left on...
INTERMEDIATEMEDIUM
How to fix 'request canceled while waiting for connection' in Docker
The 'request canceled while waiting for connection' error occurs when Docker cannot establish a network connection to a registry like Docker Hub. This is typically caused by network configuration issues, proxy settings, DNS problems, or firewall restrictions.
0 viewsnet/http: request canceled while waiting for conne...
INTERMEDIATEHIGH
How to fix 'error initializing graphdriver: driver not supported' in Docker
This error occurs when Docker cannot initialize the storage driver (graphdriver) used to manage container images and layers. It typically happens after kernel updates, when storage driver configuration conflicts exist, or when there are incompatible filesystem types.
0 viewsError starting daemon: error initializing graphdri...
BEGINNERMEDIUM
How to fix 'docker daemon is not running' in Docker on Windows
This error appears on Windows when the Docker Desktop application is not running or failed to start. The Docker CLI cannot connect to the daemon service that manages containers.
0 viewserror during connect: This error may indicate that...
INTERMEDIATEHIGH
How to fix 'failed to register layer' in Docker
This error occurs when Docker cannot extract and register an image layer during pull or build operations. Common causes include insufficient disk space, corrupted downloads, storage driver issues, or permission problems in rootless mode.
0 viewsfailed to register layer: Error processing tar fil...
INTERMEDIATEMEDIUM
How to fix 'Read-only file system' in Docker
This error occurs when Docker tries to write to a filesystem that is mounted as read-only. Common causes include Snap installations, disk space issues, hardware failures, intentional read-only mounts, and volume permission conflicts.
0 viewsRead-only file system
INTERMEDIATEMEDIUM
How to fix 'Cannot connect to the Docker daemon at tcp://localhost:2375' in Docker
This error occurs when Docker is configured to connect via TCP on port 2375, but the daemon is not listening on that port. This commonly affects WSL, CI/CD pipelines, and Docker-in-Docker setups.
0 viewsCannot connect to the Docker daemon at tcp://local...
INTERMEDIATEHIGH
How to fix 'Thin Pool has free data blocks less than minimum required' in Docker
This error occurs when Docker's devicemapper thin pool runs out of free data blocks. The fix involves cleaning up unused Docker resources, extending the thin pool, or migrating to the overlay2 storage driver.
0 viewsdevmapper: Thin Pool has free data blocks which is...
BEGINNERMEDIUM
How to fix 'docker.sock: no such file or directory' in Docker
This error occurs when the Docker daemon is not running or the socket file does not exist. The Docker CLI cannot communicate with the daemon because the Unix socket at /var/run/docker.sock is missing.
0 viewsGot permission denied while trying to connect to t...
BEGINNERMEDIUM
How to fix 'listen tcp6: bind: address already in use' in Docker
The 'listen tcp6 bind: address already in use' error occurs when Docker attempts to bind a container port to an IPv6 address that's already occupied. Find and stop the conflicting process, bind to IPv4 only, or use a different port.
0 viewsError starting userland proxy: listen tcp6 [::]:80...
INTERMEDIATEMEDIUM
How to fix 'dial tcp: connect: connection refused' in Docker
This error occurs when the Docker CLI cannot establish a TCP connection to the Docker daemon. The daemon may not be running, not listening on the expected port, or network/firewall issues are blocking the connection.
0 viewserror during connect: Get http://docker:2375/v1.40...
BEGINNERLOW
How to fix 'remove volume: volume is in use' in Docker
The 'remove volume: volume is in use' error occurs when you try to delete a Docker volume that is still referenced by a container. Remove or stop the dependent container first, then delete the volume.
0 viewsError response from daemon: remove volume: volume ...
BEGINNERHIGH
How to fix 'failed to load daemon config: json: cannot unmarshal' in Docker
This error occurs when Docker cannot parse daemon.json due to incorrect JSON data types, such as using quoted strings for boolean or numeric values. Fix it by ensuring proper JSON syntax with correct data types in your configuration file.
0 viewsfailed to load daemon config: json: cannot unmarsh...
INTERMEDIATEHIGH
How to fix 'failed to create overlay filesystem: no space left on device' in Docker
This error occurs when Docker's overlay2 storage driver cannot create the filesystem layers needed for containers due to insufficient disk space in /var/lib/docker. The fix involves cleaning up Docker resources and reclaiming space in the overlay2 directory.
0 viewsfailed to create overlay filesystem: no space left...
INTERMEDIATEMEDIUM
How to fix 'EACCES: permission denied, unlink' in Docker
The EACCES permission denied unlink error occurs when npm or another process inside a Docker container cannot delete a file due to insufficient permissions. This typically happens when files were created by a different user (often root) than the current process user, or when volume mounts have ownership mismatches.
0 viewsEACCES: permission denied, unlink '/app/package-lo...
ADVANCEDHIGH
How to fix 'Thin Pool has free data blocks less than minimum required' in Docker
This error occurs when Docker's devicemapper thin pool is running critically low on storage space. Docker enforces a minimum free space threshold to prevent data corruption. The fix involves cleaning up Docker resources, extending the thin pool, or migrating to the overlay2 storage driver.
0 viewsdevmapper: Thin Pool has 1234 free data blocks whi...
ADVANCEDHIGH
How to fix 'Exited (139)' SIGSEGV segmentation fault in Docker
The 'Exited (139)' error occurs when a Docker container receives SIGSEGV (signal 11), a segmentation fault indicating the application attempted to access invalid memory. This typically stems from application bugs, library incompatibilities, or architecture mismatches and requires debugging at the binary level to resolve.
0 viewsExited (139) - Container terminated with SIGSEGV
INTERMEDIATEMEDIUM
How to fix 'operation not permitted' in Docker
This error occurs when a process inside a Docker container attempts an operation that is blocked by Linux security features like seccomp, AppArmor, or missing Linux capabilities. The fix involves identifying the blocked syscall and granting appropriate permissions through capabilities, custom seccomp profiles, or SELinux configuration.
0 viewsoperation not permitted
INTERMEDIATEMEDIUM
How to fix 'EACCES: permission denied, mkdir' in Docker
The EACCES mkdir permission denied error occurs when a process inside a Docker container cannot create a directory due to insufficient filesystem permissions. This typically happens when running as a non-root user without proper ownership of the target directory or its parent path.
0 viewsEACCES: permission denied, mkdir '/app/data'
INTERMEDIATEMEDIUM
How to fix 'firewalld is not running' in Docker
This error occurs when Docker expects firewalld to manage network rules but the firewall service is not running. The fix involves either starting firewalld or configuring Docker to work without it by restarting the Docker daemon.
0 viewsError response from daemon: driver failed programm...
INTERMEDIATEMEDIUM
How to fix 'no route to host' in Docker
This error occurs when a Docker container cannot establish a network connection to a target host. It's typically caused by firewall rules blocking container traffic, incorrect network configuration, or the target host being unreachable from the container's network namespace.
0 viewsdial tcp: connect: no route to host
INTERMEDIATEHIGH
How to fix 'iptables failed' in Docker
The 'iptables failed' error occurs when Docker cannot configure network rules needed for container connectivity. This typically happens when iptables rules are flushed while Docker is running, the DOCKER chain is missing, or there are iptables version compatibility issues.
0 viewsError response from daemon: driver failed programm...
INTERMEDIATEMEDIUM
How to fix 'dial tcp: i/o timeout' in Docker
The 'dial tcp: i/o timeout' error occurs when Docker cannot establish a network connection within the expected time. This typically indicates DNS resolution problems, network connectivity issues, firewall restrictions, or proxy misconfiguration.
0 viewsdial tcp: i/o timeout
BEGINNERMEDIUM
How to fix 'manifest unknown' in Docker
The 'manifest unknown' error occurs when Docker cannot find the image manifest in the registry. This typically happens due to an incorrect image name or tag, the tag not existing in the repository, or architecture incompatibility issues.
0 viewsmanifest unknown: manifest unknown
INTERMEDIATEMEDIUM
How to fix 'cannot open: Permission denied' in Docker
The 'cannot open: Permission denied' error occurs when a process inside a Docker container cannot read or write to system files like /etc/passwd. This typically happens due to user namespace remapping, read-only filesystem mounts, SELinux policies, or running commands that require root privileges as a non-root user.
0 viewscannot open '/etc/passwd': Permission denied
BEGINNERLOW
How to fix 'manifest for image:tag not found' in Docker
This error occurs when Docker cannot find the specified image tag in the container registry. The most common cause is requesting a tag that doesn't exist, such as a typo in the version number or using 'latest' when it was never pushed.
0 viewsError response from daemon: manifest for nginx:non...
ADVANCEDMEDIUM
How to fix 'failed to create the ipvlan port' in Docker
This error occurs when Docker cannot create an IPvlan network interface, typically due to missing kernel module support, the parent network interface being busy, or running in a virtualized environment that doesn't support IPvlan. Fixing it involves verifying kernel support, checking interface availability, or switching to an alternative network driver like macvlan.
0 viewsError response from daemon: failed to create the i...
BEGINNERMEDIUM
How to fix 'Rate exceeded for anonymous users' in Docker Hub
The 'toomanyrequests: Rate exceeded for anonymous users' error occurs when Docker Hub throttles image pulls from unauthenticated users. Anonymous users are limited to 100 pulls per 6 hours per IP address. Authenticate with Docker Hub or use a registry mirror to resolve this issue.
0 viewstoomanyrequests: Rate exceeded for anonymous users
BEGINNERMEDIUM
How to fix 'found character that cannot start any token' in Docker Compose
This YAML parsing error occurs when your docker-compose.yml file contains tab characters for indentation. YAML strictly forbids tabs and requires spaces. The fix is simple: replace all tabs with spaces (typically 2 spaces per indent level).
0 viewsyaml: line X: found character that cannot start an...
BEGINNERLOW
How to fix 'repository name must be lowercase' in Docker
The 'repository name must be lowercase' error occurs when you use uppercase characters in a Docker image name, tag, or related paths. Docker image references must be all lowercase. The fix is simple: convert all uppercase letters to lowercase in your image names and related configurations.
0 viewsError response from daemon: invalid reference form...
BEGINNERLOW
How to fix 'No such image' in Docker
The 'No such image' error occurs when Docker cannot find a specified image in your local repository. This typically happens due to typos in image names or tags, attempting to use an image that hasn't been pulled, or referencing images that have been removed.
0 viewsError response from daemon: No such image
INTERMEDIATEHIGH
How to fix 'exec: entrypoint.sh: no such file or directory' in Docker
This error occurs when Docker cannot find or execute the entrypoint script specified in your Dockerfile or container configuration. Common causes include incorrect file paths, missing files in the image, Windows line endings (CRLF), volume mounts shadowing files, or permission issues.
0 viewsdocker: Error response from daemon: OCI runtime cr...
INTERMEDIATEMEDIUM
How to fix 'image operating system cannot be used on this platform' in Docker
This error occurs when Docker is configured to run Windows containers but you're trying to use a Linux-based image, or vice versa. The solution is to switch Docker Desktop to the correct container mode or use WSL 2 for running Linux containers on Windows.
0 viewsimage operating system "linux" cannot be used on t...
BEGINNERLOW
How to fix 'Container is not running' when using docker exec
The 'docker exec' command fails because the target container has exited or stopped. This typically happens when containers exit immediately after starting due to missing long-running processes or when you attempt to execute commands in a stopped container.
0 viewsError response from daemon: Container is not runni...
BEGINNERLOW
How to fix 'the input device is not a TTY' in Docker
The 'input device is not a TTY' error occurs when Docker commands include the -t flag (which requests a pseudo-terminal) but are run in a non-interactive environment like CI/CD pipelines or automated scripts. Remove the -t flag or use the -T flag with docker-compose exec.
0 viewsthe input device is not a TTY
BEGINNERLOW
How to fix 'container already started' in Docker
This error occurs when you attempt to start a Docker container that is already running. The fix is simple: either use the existing running container, restart it, or stop and remove it before creating a new one.
0 viewsError response from daemon: container already star...
INTERMEDIATEMEDIUM
How to fix 'image platform does not match host platform' in Docker
This error occurs when trying to run a Docker image built for a different CPU architecture than your host machine. Common scenarios include running x86/amd64 images on Apple Silicon Macs (ARM64) or Raspberry Pi devices. The fix involves using the --platform flag, building multi-architecture images, or enabling emulation.
0 viewsWARNING: The requested image's platform (linux/amd...
BEGINNERLOW
How to fix 'container is paused' in Docker
The 'container is paused' error occurs when you try to perform operations on a Docker container that has been suspended using the pause command. Simply unpause the container with 'docker unpause' to resume normal operations.
0 viewsError response from daemon: container is paused
BEGINNERMEDIUM
How to fix 'Package has no installation candidate' in Docker
This error occurs during Docker image builds when apt-get cannot find a valid version of the requested package to install. The most common fix is running apt-get update before installation to refresh the package index.
0 viewsE: Package 'vim' has no installation candidate
BEGINNERLOW
How to fix 'network not found' in Docker
This error occurs when Docker cannot find the network specified in your command or docker-compose file. The network may have been deleted, never created, or the name is misspelled. The fix involves recreating the network or updating your configuration.
0 viewsError response from daemon: network not found
BEGINNERLOW
How to fix 'no such volume' in Docker
The 'no such volume' error occurs when Docker cannot find a volume that a container references. This usually happens after a volume was deleted while a container still references it, or when using docker start on a container whose volume no longer exists. The fix involves removing the orphaned container and recreating it.
0 viewsError response from daemon: get volume: no such vo...
BEGINNERMEDIUM
How to fix 'pull access denied, repository does not exist' in Docker
The 'pull access denied, repository does not exist or may require authentication' error occurs when Docker cannot locate or access an image from the registry. This is commonly caused by typos in the image name, missing authentication for private repositories, or referencing images that don't exist.
0 viewspull access denied, repository does not exist or m...
BEGINNERMEDIUM
How to fix 'unknown instruction' in Dockerfile
This error occurs when Docker's parser encounters text it doesn't recognize as a valid Dockerfile instruction. Common causes include incorrect file encoding, Windows line endings (CRLF), missing line continuation backslashes, or shell commands without the RUN prefix.
0 viewsunknown instruction: RUN
INTERMEDIATEMEDIUM
How to fix '--from argument must point to a valid previous stage' in Docker
This Docker multi-stage build error occurs when the COPY --from or RUN --mount=from flag references a stage name or image that doesn't exist. The fix involves correcting stage name typos, ensuring stages are defined before being referenced, or verifying external image names.
0 viewsfailed to resolve with frontend dockerfile.v0: fai...
BEGINNERLOW
How to fix '[command,: not found' JSON syntax error in Docker
This error occurs when the CMD or ENTRYPOINT instruction in a Dockerfile uses incorrect JSON array syntax. The fix is to ensure proper double quotes, commas between elements, and standard ASCII characters in the exec form.
0 views/bin/sh: [npm,: not found
INTERMEDIATEMEDIUM
How to fix 'exec user process caused: permission denied' in Docker
This error occurs when Docker cannot execute the entrypoint script or binary, typically because the file lacks execute permissions, has Windows line endings (CRLF), or SELinux is blocking execution. The fix usually involves adding chmod +x or converting line endings.
0 viewsexec user process caused: permission denied
BEGINNERMEDIUM
How to fix 'yaml: did not find expected key' in Docker Compose
This YAML parsing error occurs when Docker Compose cannot interpret your docker-compose.yml file due to malformed syntax. The most common causes are incorrect indentation, tabs instead of spaces, or invisible characters from copy-pasting. The fix usually involves correcting the whitespace at the line number indicated in the error.
0 viewsyaml: line X: did not find expected key
BEGINNERLOW
How to fix 'environment variable has empty value' in Docker
The 'environment variable has empty value' warning in Docker or Docker Compose appears when a referenced environment variable is not set or defaults to a blank string. This is typically resolved by setting the variable in your shell, using a .env file, or providing a default value in your configuration.
0 viewsenvironment variable has empty value
BEGINNERLOW
How to fix 'version is obsolete' in Docker Compose
The 'version is obsolete' warning appears when running Docker Compose V2 with a docker-compose.yml file that includes the deprecated `version:` field. This is a harmless warning that can be resolved by simply removing the version line from your Compose file.
0 viewsversion is obsolete
BEGINNERMEDIUM
How to fix 'Volume declared as external but could not be found' in Docker Compose
This error occurs when your Docker Compose file references a volume with `external: true`, but the volume doesn't exist on your Docker host. Docker expects externally-declared volumes to be created manually before running the compose file.
0 viewsVolume myvolume declared as external, but could no...
BEGINNERLOW
How to fix 'no such service' in Docker Compose
This error occurs when Docker Compose cannot find a service name you specified. The most common cause is using a container name instead of the service name defined in your docker-compose.yml file, or running the command from the wrong directory.
0 viewsno such service: myservice
BEGINNERLOW
How to fix 'Found orphan containers for this project' in Docker Compose
This warning appears when Docker Compose detects containers that belong to the same project but are no longer defined in your docker-compose.yml file. It typically happens after renaming or removing services, or when multiple compose files share the same project name.
0 viewsWARN[0000] Found orphan containers ([container-nam...
INTERMEDIATEMEDIUM
How to fix 'Service failed to build' in Docker Compose
This error occurs when Docker Compose fails to build an image for one of your services. The root cause is typically a Dockerfile issue, missing build context files, incorrect paths in docker-compose.yml, or system resource constraints like insufficient memory or disk space.
0 viewsService 'myservice' failed to build
INTERMEDIATEMEDIUM
How to fix 'dependency failed to start' in Docker Compose
This error occurs when a container that another service depends on fails its health check and is marked as 'unhealthy'. Docker Compose stops waiting and prevents the dependent service from starting, requiring you to fix the unhealthy dependency or adjust health check timing.
0 viewsdependency failed to start
INTERMEDIATEMEDIUM
How to fix 'Timeout after 60 seconds' in Docker Compose
The 'Timeout after 60 seconds' error in Docker Compose occurs when the Docker daemon doesn't respond within the default 60-second window. This is typically caused by slow network conditions, resource-intensive builds, unresponsive healthchecks, or Docker daemon performance issues.
0 viewsTimeout after 60 seconds
BEGINNERLOW
How to fix 'COPY failed: destination must be a directory' in Docker
This Dockerfile error occurs when COPY or ADD instructions use multiple source files or wildcard patterns but the destination path doesn't end with a trailing slash. Docker requires the destination to be explicitly marked as a directory when copying multiple files.
0 viewsCOPY failed: when using more than one source file,...
BEGINNERLOW
How to fix 'file with no instructions' in Docker
This Docker build error occurs when the Dockerfile is empty, contains only comments, or cannot be read due to encoding issues. Docker requires at least one valid instruction (like FROM) to build an image.
0 viewsfailed to solve with frontend dockerfile.v0: faile...
BEGINNERLOW
How to fix 'Additional property is not allowed' in Docker Compose
The 'Additional property is not allowed' error in Docker Compose occurs when your docker-compose.yml file contains an unrecognized property name. This is usually caused by typos, incorrect indentation, missing the 'services' key, or using features not supported by your Compose version.
0 viewsservices.myservice Additional property X is not al...
INTERMEDIATEMEDIUM
How to fix 'no build argument' for FROM in Docker
This Docker build error occurs when a Dockerfile uses an ARG variable in the FROM instruction but the argument was not provided via --build-arg and has no default value. Fix it by providing a default value for the ARG or passing the build argument at build time.
0 viewsfailed to process "FROM ${BASE_IMAGE}": no build a...
BEGINNERLOW
How to fix 'MAINTAINER is deprecated' in Docker
This warning appears when Docker encounters the deprecated MAINTAINER instruction in your Dockerfile. Replace it with the LABEL instruction using the org.opencontainers.image.authors key to specify maintainer metadata following modern OCI standards.
0 viewsDockerfile parse error line 10: MAINTAINER is depr...
INTERMEDIATEMEDIUM
How to fix 'failed to parse stage name' in Docker
The 'failed to parse stage name' error occurs when Docker BuildKit cannot properly parse a stage name in a FROM instruction. This typically happens due to uppercase letters in stage names, undefined ARG variables, or invalid characters. The fix involves using lowercase stage names and ensuring all build arguments are properly defined.
0 viewsfailed to solve with frontend dockerfile.v0: faile...
BEGINNERMEDIUM
How to fix 'No package available' yum error in Docker
This error occurs when yum cannot find a requested package in its configured repositories during Docker builds on CentOS/RHEL-based images. The most common cause is that the package exists in a repository (like EPEL) that isn't enabled by default.
0 viewsNo package nginx available
BEGINNERLOW
How to fix 'Memory reservation cannot be larger than memory limit' in Docker
This error occurs when you set Docker's --memory-reservation value higher than the --memory (hard limit). Memory reservation is a soft limit that must always be lower than or equal to the hard memory limit.
0 viewsMemory reservation cannot be larger than memory li...
INTERMEDIATELOW
How to fix 'invalid CPU shares' in Docker
This Docker error occurs when you specify an invalid value for the --cpu-shares flag. CPU shares must be an integer value of 2 or higher (or 0 to use the default of 1024). The fix involves using a valid integer within the acceptable range.
0 viewsError response from daemon: invalid CPU shares
BEGINNERMEDIUM
How to fix 'invalid port specification' in Docker Compose
The 'invalid port specification' error occurs when Docker Compose cannot parse your port mapping syntax. This typically happens due to unquoted port values, undefined environment variables, or malformed port formats. Fix it by quoting ports as strings and validating your syntax.
0 viewsERROR: for web Cannot create container for service...
INTERMEDIATELOW
How to fix 'CPU period must be between 1000 and 1000000' in Docker
This error occurs when you specify an invalid value for the --cpu-period flag in Docker. The CPU period must be between 1000 microseconds (1ms) and 1000000 microseconds (1 second). Fix it by using a valid period value, typically 100000 (100ms, the default).
0 viewsError response from daemon: CPU period must be bet...
BEGINNERLOW
How to fix 'Invalid interpolation format' in Docker Compose
The 'Invalid interpolation format' error in Docker Compose occurs when the variable interpolation syntax is malformed, typically due to unescaped dollar signs ($) in your values. Fix this by escaping dollar signs with $$ or correcting the variable syntax.
0 viewsERROR: Invalid interpolation format
ADVANCEDHIGH
How to fix 'cgroup mountpoint does not exist' in Docker
This error occurs when Docker cannot find the expected cgroup filesystem mount, typically due to incompatibility between Docker and cgroup v2 (unified cgroup hierarchy). Modern Linux distributions have migrated to cgroup v2, which older Docker versions may not fully support.
0 viewscgroups: cgroup mountpoint does not exist: unknown
INTERMEDIATELOW
How to fix 'CPU quota must be greater than 1000' in Docker
This error occurs when you set Docker's --cpu-quota flag to a value of 1000 microseconds or less. The CPU quota must exceed 1000 microseconds (1ms) to ensure meaningful CPU time allocation. Use the simpler --cpus flag or ensure your quota value is at least 1001.
0 viewsError response from daemon: CPU quota must be grea...
BEGINNERMEDIUM
How to fix 'repository does not exist' when pushing Docker images
The 'repository does not exist' error occurs when Docker cannot find an image locally that matches the tag you are trying to push. This typically happens when the image is not tagged correctly with your Docker Hub username or registry URL, or when the image simply does not exist locally.
0 viewsError response from daemon: repository does not ex...
BEGINNERMEDIUM
How to fix 'connection refused' when connecting to Docker registry
This error occurs when Docker cannot establish a TCP connection to a container registry. The registry service may not be running, the port may be incorrect, or network/firewall rules are blocking the connection.
0 viewsError response from daemon: Get https://myregistry...
BEGINNERLOW
How to fix 'This node is not a swarm manager' in Docker
This error occurs when you run a swarm management command on a Docker node that hasn't been initialized as a swarm manager. The fix is to either initialize a new swarm with `docker swarm init` or join an existing swarm as a manager node.
0 viewsError response from daemon: This node is not a swa...
INTERMEDIATEMEDIUM
How to fix 'failed to join the cluster' in Docker Swarm
This error occurs when a Docker node cannot successfully join an existing Swarm cluster. Common causes include firewall blocking required ports, network connectivity issues, time synchronization problems, or an invalid/expired join token.
0 viewsError response from daemon: error while joining sw...
BEGINNERMEDIUM
How to fix 'no such host' when connecting to Docker registry
This error occurs when Docker cannot resolve the hostname of a container registry. The DNS lookup fails because the registry hostname is not recognized by your system's DNS resolver, typically due to misconfigured DNS settings, network issues, or incorrect registry URLs.
0 viewsError response from daemon: Get https://myregistry...
INTERMEDIATEMEDIUM
How to fix 'grpc: received message larger than max' in Docker Swarm
Docker Swarm returns 'rpc error: code = ResourceExhausted desc = grpc: received message larger than max' when internal gRPC messages exceed the 4MB default limit. This typically occurs in large clusters with many services, secrets, or configs.
0 viewsError response from daemon: rpc error: code = Reso...
INTERMEDIATEMEDIUM
How to fix 'node is not available' in Docker Swarm
This error occurs when Docker Swarm cannot schedule tasks on a node because it is set to 'drain' or 'pause' availability, or the node has gone offline. The fix involves checking node status, updating availability settings, or rejoining the node to the swarm.
0 viewsError response from daemon: node is not available
INTERMEDIATEHIGH
How to fix 'network ingress not found' in Docker Swarm
This error occurs when Docker Swarm's built-in ingress network is missing or corrupted. The ingress network is essential for the routing mesh that enables load balancing across swarm nodes. The fix typically involves recreating the ingress network or reinitializing the swarm.
0 viewsError response from daemon: network ingress not fo...
BEGINNERLOW
How to fix 'No such node' in Docker Swarm
The 'No such node' error occurs when Docker Swarm cannot find a node matching the ID or hostname you specified. This typically happens when a node has left the swarm, was removed, or the identifier is incorrect. Use docker node ls to verify available nodes.
0 viewsError response from daemon: No such node
INTERMEDIATEHIGH
How to fix 'failed to start containerd' in Docker
This error occurs when the Docker daemon cannot start or communicate with containerd, the underlying container runtime. Common causes include stale PID files, timeout issues during startup, missing containerd binary, or corrupted state files. Resolution typically involves removing stale files and restarting services.
0 viewsError response from daemon: failed to start contai...
ADVANCEDHIGH
How to fix 'OCI runtime create failed: kata runtime error' in Docker
This error occurs when Docker cannot start a container using the Kata Containers runtime, typically due to missing Kata components, incorrect configuration, or lack of hardware virtualization support.
0 viewsError response from daemon: OCI runtime create fai...
INTERMEDIATEMEDIUM
How to fix 'failed to load cache key: cache key not found' in Docker
This error occurs when Docker BuildKit cannot import cache from a specified source during builds. The cache location may not exist yet, be inaccessible, or contain incompatible data. Common fixes include ensuring the cache exists, using correct cache backend configuration, or handling first-run scenarios gracefully.
0 viewsfailed to solve: failed to load cache key: cache k...
BEGINNERMEDIUM
How to fix 'image operating system linux cannot be used on this platform' in Docker
This error occurs when Docker Desktop on Windows is set to run Windows containers, but you're trying to pull or run a Linux-based image. Switching Docker Desktop to Linux containers mode will resolve the issue.
0 viewsimage operating system "linux" cannot be used on t...
BEGINNERLOW
How to fix 'unknown instruction' Dockerfile parse error in Docker
This error occurs when Docker encounters an unrecognized instruction in your Dockerfile, typically due to a typo like 'RRUN' instead of 'RUN'. Fixing the typo in your Dockerfile will resolve the issue immediately.
0 viewsdockerfile parse error line 5: unknown instruction...
INTERMEDIATEHIGH
How to fix 'unable to configure the Docker daemon with file daemon.json' in Docker
This error occurs when Docker cannot parse or apply settings from daemon.json due to JSON syntax errors, conflicting configuration options, permission issues, or invalid values. The fix depends on whether the conflict is between flags and config file settings, or a simple syntax issue.
0 viewsunable to configure the Docker daemon with file /e...