A
A
AlexandrBirukov2018-11-28 22:00:10
Docker
AlexandrBirukov, 2018-11-28 22:00:10

How to connect to a running container in cron?

There is a container in the restart: always mode, it is sometimes updated and restarted, and its ID changes accordingly. The question is, is it possible to somehow configure cron so that it can connect to this container not by ID, but by name, for example?
Thanks for answers.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2018-11-28
@AlexandrBirukov

Well, by the name of the container and connect.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question