im a newbie in Linux/ubuntu/docker, and im trying to install a WordPress using docker but every time I executed the command
docker-compose up -d I get the same error whenever is building the MySQL
Building mysql Sending build context to Docker daemon 2.56kB Step 1/9 : FROM mysql:5.7.9 ---> ec7e75e5260c Step 2/9 : RUN apt-get update; apt-get install --no-install-recommends -y ca-certificates curl wget ---> Running in 111a79e6ca40 Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB] Ign http://httpredir.debian.org jessie InRelease Get:2 http://httpredir.debian.org jessie-updates InRelease [16.3 kB] E: The method driver /usr/lib/apt/methods/https could not be found. Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package ca-certificates E: Unable to locate package curl E: Unable to locate package wget The command '/bin/sh -c apt-get update; apt-get install --no-install-recommends -y ca-certificates curl wget' returned a non-zero code: 100 ERROR: Service 'mysql' failed to build : Build failed
I tried using docker for windows, wsl, and ubuntu 20.04 and installing a VM with xubuntu 20.04 but I get the same error
I tried changing the time zone but nothing happens, I tried installing the apt-transport-https but it says that is installed and updated, what can be this error?
I installed the docker image in another computer and works fine