Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker compose ERROR #360

Open
billiemead opened this issue Mar 17, 2024 · 1 comment
Open

Docker compose ERROR #360

billiemead opened this issue Mar 17, 2024 · 1 comment

Comments

@billiemead
Copy link

Windows 11
VS Code
etc.

I ran docker-compose up -d and it looks like it almost made it, but I got the following error:

 => ERROR [wp-headless 4/9] RUN apt-get update;  apt-get install -yq mariadb-client netcat sudo less git unzip                                                                       3.3s 
------
 > [wp-headless 4/9] RUN apt-get update;        apt-get install -yq mariadb-client netcat sudo less git unzip:
0.670 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
0.733 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
0.801 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
0.883 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8786 kB]
1.285 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [12.7 kB]
1.334 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [146 kB]
2.024 Fetched 9200 kB in 2s (5791 kB/s)
2.024 Reading package lists...
2.495 Reading package lists...
3.016 Building dependency tree...
3.164 Reading state information...
3.168 Package netcat is a virtual package provided by:
3.168   netcat-openbsd 1.219-1
3.168   netcat-traditional 1.10-47
3.168
3.170 E: Package 'netcat' has no installation candidate
------
failed to solve: process "/bin/sh -c apt-get update; \tapt-get install -yq mariadb-client netcat sudo less git unzip" did not complete successfully: exit code: 100

Any help? Or is there more I need to provide? Cheers~

@billiemead
Copy link
Author

In docker file I changed netcat to netcat-traditional and it was resolved and installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant