L
L
lev1l2021-07-13 09:45:12
linux
lev1l, 2021-07-13 09:45:12

How to make a script to output a docker-a command?

Gentlemen, there is a container:
2c9104cda776 redis:6.2 tiburon-redis

What I need to do:
Run in this docker redis-cli info | grep ^role:master and get normal console output.

Or output the same via docker exec(

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question