Score:1

how and why container and its image is getting deleted automatically?

dm flag

I have a zeppelin container running on centos7 and on every couple of days the container and its image is getting deleted automatically, and every time i have to to docker compose up -d.

here is the log

the docker-compose yml

version: '3.7'
services:
  dev-zeppelin:
    image: zeppelin-docker:latest
    container_name: dev-zeppelin
    hostname: dev-zeppelin
    user: '0'
    volumes:
      - ./logs:/logs
      - ./notebook:/notebook
      - ./interpreter:/interpreter
    ports:
      - 8888:8080
    environment:
      - ZEPPELIN_LOG_DIR=/logs
      - ZEPPELIN_NOTEBOOK_DIR=/notebook
      - ZEPPELIN_INTERPRETER_DIR=/interpreter
    logging:
      driver: journald
      options:
          tag: zeppelin
Score:0
ws flag

Verify whether your system has any restrictions on the number of containers that can be produced and whether such restrictions have been achieved.Examine the system to see if there are any memory or resource restrictions that might be causing the container to be removed.

Rajsekar Reddy avatar
dm flag
below are the suspicious tasks before Shutting down the zeppelin Jan 02 06:02:01 xxxxxxxx CROND[197871]: (root) CMD (find /tmp/. -maxdepth 1 -mmin +10 -type f -delete) Jan 02 06:02:01 xxxxxxxx CROND[197881]: (worker) CMD (php72 /data/cli/worker/bin/booking.php health all >/dev/null 2>&1) Jan 02 06:02:06 xxxxxxxx zeppelin[30081]: INFO [2023-01-02 05:02:06,628] ({Thread-23} ZeppelinServer.java[lambda$shutdown$0]:316) - Shutting down Zeppelin Server … but i am not sure those tasks are the culprit
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.