S
S
shell_guy2022-02-17 12:29:18
Docker
shell_guy, 2022-02-17 12:29:18

Docker: how to substitute LTS tag?

Please tell me how to use a variable for the LTS tag so that it looks like
image: nginx ${LTS_VERION}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2022-02-17
@karabanov

Write to the .env file, then the variable will be available in the context of docker-compose

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question