Alguien aquí pilota de dockers?

Desde
31 Ago 2019
Mensajes
6.147
Fruta
14.888
Quiero ser coordinador de robosats y estoy sudando tinta china para instalar la movida esta de los dockers
 
sudo apt install docker, te añades al grupo y reinicias y listo. Lo ideal es que te hagas un compose y lo levantes, el Dockerfile solo si necesitas modificar algo. Como GUI te recomiendo Podman.
 
Tienes un fichero compose
 
Que problema tienes?
he instalado dockers pero cuando intento ver si corre bien, me sale esto:

WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string. WARN[0000] The "STATIC" variable is not set. Defaulting to a blank string. WARN[0000] The "NGINX_CONFD" variable is not set. Defaulting to a blank string. WARN[0000] The "WELLKNOWN" variable is not set. Defaulting to a blank string. WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string. WARN[0000] The "ROBOSATS_ENVS_FILE" variable is not set. Defaulting to a blank string. WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string. WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string.

no se que valor dar a esos parámetros
 
Docker Desktop o Rancher

De nada

Edit: no se de qué va lo de los robosats esos, pero como toda tu pericia informática sea esa...
 
Tienes algo raro en el docker-compose? Es que no se el docker concreto que estás instalando pero entiendo que deberían dártelo todo hecho.
Algo tipo
environment:
- SUFFIX=${SUFFIX}
- STATIC=${STATIC}
- NGINX_CONFD=${NGINX_CONFD}
- WELLKNOWN=${WELLKNOWN}
- ROBOSATS_ENVS_FILE=${ROBOSATS_ENVS_FILE}


Si no prueba a añadir en enviroment un suffix=test_

Por ahí deben ir los tiros.

Pero esas variables de entorno SUFFIX y demás deberían estar documentadas en el README o en algún sitio. Eso si ha sacado el docker-compose o la imagen de algún repositorio medianamente decente. No veo que esté especificando que levanta varios contenedores con docker-compose, podría ser uno solo.

 
he instalado dockers pero cuando intento ver si corre bien, me sale esto:

WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string. WARN[0000] The "STATIC" variable is not set. Defaulting to a blank string. WARN[0000] The "NGINX_CONFD" variable is not set. Defaulting to a blank string. WARN[0000] The "WELLKNOWN" variable is not set. Defaulting to a blank string. WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string. WARN[0000] The "ROBOSATS_ENVS_FILE" variable is not set. Defaulting to a blank string. WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string. WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string.

no se que valor dar a esos parámetros


Pasa el contenido del docker-compose.yaml

Tienes que tener algo mal
 
Tienes algo raro en el docker-compose? Es que no se el docker concreto que estás instalando pero entiendo que deberían dártelo todo hecho.
Algo tipo
environment:
- SUFFIX=${SUFFIX}
- STATIC=${STATIC}
- NGINX_CONFD=${NGINX_CONFD}
- WELLKNOWN=${WELLKNOWN}
- ROBOSATS_ENVS_FILE=${ROBOSATS_ENVS_FILE}


Si no prueba a añadir en enviroment un suffix=test_
estos parámetros los tengo en una carpeta llamada ".env"

he introducido los cambios que mencionas y me aparece esto:

WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string.
WARN[0000] The "ROBOSATS_ENVS_FILE" variable is not set. Defaulting to a blank string.
WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string.
WARN[0000] The "ROBOSATS_ENVS_FILE" variable is not set. Defaulting to a blank string.
WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string.
WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string.
WARN[0000] The "ROBOSATS_ENVS_FILE" variable is not set. Defaulting to a blank string.
WARN[0000] The "GUNICORN_WORKERS" variable is not set. Defaulting to a blank string.
WARN[0000] The "STATIC" variable is not set. Defaulting to a blank string.
WARN[0000] The "STATIC" variable is not set. Defaulting to a blank string.
WARN[0000] The "NGINX_CONFD" variable is not set. Defaulting to a blank string.
WARN[0000] The "WELLKNOWN" variable is not set. Defaulting to a blank string.
WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string.
WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string.
WARN[0000] The "ROBOSATS_ENVS_FILE" variable is not set. Defaulting to a blank string.
WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string.
WARN[0000] The "STRFRY_URLS" variable is not set. Defaulting to a blank string.
WARN[0000] The "STRFRY_CONF" variable is not set. Defaulting to a blank string.
WARN[0000] The "STRFRY_DATA" variable is not set. Defaulting to a blank string.
WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string.
WARN[0000] The "SUFFIX" variable is not set. Defaulting to a blank string.
parsing /home/Porquero de Agamenon/robosats-deploy/compose/docker-compose.yml: error while interpolating services.tor.volumes.[]: required variable TOR_DATA is missing a value
 
Por ahí deben ir los tiros.

Pero esas variables de entorno SUFFIX y demás deberían estar documentadas en el README o en algún sitio. Eso si ha sacado el docker-compose o la imagen de algún repositorio medianamente decente. No veo que esté especificando que levanta varios contenedores con docker-compose, podría ser uno solo.

supuestamente tienes que configurarlo siguiendo esta guía:

 
supuestamente tienes que configurarlo siguiendo esta guía:


Lo que dice @Cachopo podría ser.

¿Has creado un fichero .env en la carpeta donde lanzas el comando docker-compose con los valores para esas variables de entorno?

Mira esto si no sabes de lo que hablo:

Esas variables de entorno como "ROBOSATS_ENVS_FILE" y demás las tienes que declarar en algún sitio antes de lanzarlo todo. Lo más cómodo es un fichero .env.
 

Estadísticas del foro

Temas
2.049.163
Mensajes
58.140.089
Miembros
190.823
Último miembro
Acofarpera

El blog de burbuja.info

Volver