Comments (8)
@robertnac Which branch are you using?
from docker-compose-lamp.
from docker-compose-lamp.
I get something more or less identical, checkout out 7.2.x as described in the readme:
rohdef@kaylee ~/g/docker-compose-lamp> docker-compose up -d
Creating network "docker-compose-lamp_default" with the default driver
Building mysql
Step 1/1 : FROM mysql:5.7
---> ae6b78bedf88
Successfully built ae6b78bedf88
Successfully tagged docker-compose-lamp_mysql:latest
WARNING: Image for service mysql was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Building webserver
Step 1/27 : FROM php:7.2-apache
---> ae0cd2ac1555
Step 2/27 : RUN apt-get -y update --fix-missing
---> Using cache
---> d43489184fa6
Step 3/27 : RUN apt-get upgrade -y
---> Using cache
---> 7c897de86ce0
Step 4/27 : RUN apt-get -y install apt-utils nano wget dialog
---> Running in f5ad6a051cc5
Reading package lists...
Building dependency tree...
Reading state information...
Package dialog is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package apt-utils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
apt
E: Package 'apt-utils' has no installation candidate
E: Unable to locate package nano
E: Unable to locate package wget
E: Package 'dialog' has no installation candidate
ERROR: Service 'webserver' failed to build: The command '/bin/sh -c apt-get -y install apt-utils nano wget dialog' returned a non-zero code: 100
from docker-compose-lamp.
I've tested it in both Ubuntu 18.04 and 18.10 btw.
from docker-compose-lamp.
Tried doing an install on a complete clean system, output changed slightly. It also had the following warnings:
e60049bf081a: Pull complete
Digest: sha256:44f9190e4ac97d6f67aa100aeb1559b283d7859f276a4d01d770e74d76b71f45
Status: Downloaded newer image for php:7.2-apache
---> 342a9fa6554c
Step 2/27 : RUN apt-get -y update --fix-missing
---> Running in 2d0d40449b25
Err:1 http://deb.debian.org/debian stretch InRelease
Temporary failure resolving 'deb.debian.org'
Err:2 http://security.debian.org/debian-security stretch/updates InRelease
Temporary failure resolving 'security.debian.org'
Err:3 http://deb.debian.org/debian stretch-updates InRelease
Temporary failure resolving 'deb.debian.org'
Err:4 http://security.debian.org/debian-security buster/updates InRelease
Temporary failure resolving 'security.debian.org'
Err:5 http://deb.debian.org/debian buster InRelease
Temporary failure resolving 'deb.debian.org'
Err:6 http://deb.debian.org/debian buster-updates InRelease
Temporary failure resolving 'deb.debian.org'
Reading package lists...
W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/InRelease Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease Temporary failure resolving 'deb.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Removing intermediate container 2d0d40449b25
---> d5868f20638a
Step 3/27 : RUN apt-get upgrade -y
---> Running in 6606883ba0fe
from docker-compose-lamp.
Ooook, turns out the docker in the apt repositories is outdated. Got it up and running now. I uninstalled the docker and docker-composer from apt, then installed using snap in stead
from docker-compose-lamp.
@robertnac Could you please try the solution proposed by @rohdef ?
I am closing it. Please reopen if the issue is still present.
from docker-compose-lamp.
@robertnac and @narendravaghela
try put this on bin/webserver/Dockerfile
RUN echo deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse \
deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse \
deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse \
deb http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse \
deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse >> /etc/apt/sources.list
it Work for me
from docker-compose-lamp.
Related Issues (20)
- Can't Use PHP Versions other than 8.0.19
- [BUG] Odd slow for app? Cant find logs HOT 2
- [SUGGESTION] Running docker-compose-lamp on resouce limited compute engines HOT 1
- [FEATURE] Obtaining a certificate with certbot HOT 2
- [BUG] php version is always 8.0.19 HOT 1
- PHPMYADMIN AUTO LOGIN HOT 3
- [BUG] failed to solve: process "/bin/sh -c apt-get -y update --fix-missing" did not complete successfully: exit code: 100 HOT 2
- Documentation on how to tie in private composer package repository HOT 1
- [Suggestion] Update README to use `docker compose` instead of deprecated `docker-compose`
- [BUG] Default SSL setup gives SSL_ERROR_RX_RECORD_TOO_LONG in Firefox
- [BUG] MYSQL not starting - it says it has files in data folder, even when I clean it out --initialize specified but the data directory has files in it. Aborting. HOT 1
- [QUESTION] Why are the `werbserver` and `database` containers set to run when host machine boots? HOT 3
- [BUG] mysqli_sql_exception: No such file or directory HOT 1
- [QUESTION] how to enable igbinary? HOT 1
- phpmyadmin log in without a password!
- [BUG] Why php 8.1.2 when installed 8.3? HOT 1
- MySQL crashing on startup HOT 1
- How to add GMP?
- php handler: mod_php=> php-fpm HOT 1
- [BUG] MySQL crashes after an update = 8.4 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-compose-lamp.