[PROMOÇÃO] Assine com + 30% de desconto ANUAL MENSAL (últimas horas)
joao.rdesiqueira
Criador joao.rdesiqueira 22/05/2022

Boa noite professor.

Houve erro ao executar o comando docker-compose up -d conforme abaixo:

joao@curso-deploy-do:~/laradock$ docker-compose up -d


Building rethinkdb
Step 1/7 : FROM rethinkdb:latest
 ---> a469b93d5263
Step 2/7 : LABEL maintainer="Cristian Mello <[email protected]>"
 ---> Using cache
 ---> b0aeaa350198
Step 3/7 : VOLUME /data/rethinkdb_data
 ---> Using cache
 ---> 5fedddcb06c9
Step 4/7 : RUN apt-get -y update     && apt-get -y upgrade     && apt-get -y install python-pip     && pip install rethinkdb     && rm -rf /var/lib/apt/lists/*
 ---> Running in a495b117f2d9
Get:1 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:2 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB]
Get:4 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [148 kB]
Get:5 https://download.rethinkdb.com/repository/debian-bullseye bullseye InRelease [2568 B]
Get:6 http://deb.debian.org/debian bullseye/main amd64 Packages [8182 kB]
Get:7 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [2596 B]
Get:8 https://download.rethinkdb.com/repository/debian-bullseye bullseye/main amd64 Packages [677 B]
Fetched 8536 kB in 2s (4448 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
  libldap-2.4-2 libssl1.1 openssl
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 2642 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://security.debian.org/debian-security bullseye-security/main amd64 libssl1.1 amd64 1.1.1n-0+deb11u2 [1558 kB]
Get:2 http://security.debian.org/debian-security bullseye-security/main amd64 libldap-2.4-2 amd64 2.4.57+dfsg-3+deb11u1 [232 kB]
Get:3 http://security.debian.org/debian-security bullseye-security/main amd64 openssl amd64 1.1.1n-0+deb11u2 [852 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 2642 kB in 0s (64.3 MB/s)
(Reading database ... 7603 files and directories currently installed.)
Preparing to unpack .../libssl1.1_1.1.1n-0+deb11u2_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1n-0+deb11u2) over (1.1.1n-0+deb11u1) ...
Setting up libssl1.1:amd64 (1.1.1n-0+deb11u2) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
(Reading database ... 7603 files and directories currently installed.)
Preparing to unpack .../libldap-2.4-2_2.4.57+dfsg-3+deb11u1_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.57+dfsg-3+deb11u1) over (2.4.57+dfsg-3) ...
Preparing to unpack .../openssl_1.1.1n-0+deb11u2_amd64.deb ...
Unpacking openssl (1.1.1n-0+deb11u2) over (1.1.1n-0+deb11u1) ...
Setting up libldap-2.4-2:amd64 (2.4.57+dfsg-3+deb11u1) ...
Setting up openssl (1.1.1n-0+deb11u2) ...
Processing triggers for libc-bin (2.31-13+deb11u3) ...
Reading package lists...
Building dependency tree...
Reading state information...
Package python-pip 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:
  python3-pip

E: Package 'python-pip' has no installation candidate
ERROR: Service 'rethinkdb' failed to build: The command '/bin/sh -c apt-get -y update     && apt-get -y upgrade     && apt-get -y install python-pip     && pip install rethinkdb     && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
joao@curso-deploy-do:~/laradock$

 

Manager Carlos Ferreira 22/05/2022

Olá, João!
Tudo bem?

Você está usando o laradock?
Nunca use apenas o comando "docker-compose up -d", porque vai subir todos os serviços que estão listados no arquivo docker-compose.yml

Indique quais serviços quer subir, exemplo:
docker-compose up -d nginx mysql

Curso Atualizado: https://academy.especializati.com/curso/ambiente-docker-na-digital-ocean

Carlos Ferreira
Criador joao.rdesiqueira 22/05/2022

Professor eu fiz a sua aula novamente e vi onde errei. Exatamente isso que voce explicou. Já está resolvido. Obrigado pela orientação.

joao.rdesiqueira
Sabe a Solução? Ajude a resolver!

Precisa estar logado para conseguir responder a este ticket!

Clique Aqui Para Entrar!