To display a progress bar for GNU Parallel in a Docker container, you can use the --bar
option. This will display a progress bar showing how many jobs have completed out of the total number of jobs.
Here's an example command:
parallel --bar command-to-run ::: input-files*
To run this command in a Docker container, you can use the docker run
command:
docker run my-image parallel --bar command-to-run ::: input-files*
Note that you may need to set up your Docker container to allow for terminal output in order to see the progress bar. One way to do this is to use the -t
and -i
options to allocate a pseudo-tty and keep stdin open:
docker run -t -i my-image parallel --bar command-to-run ::: input-files*
This should enable the progress bar to be displayed in your Docker container's terminal.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-07-14 05:45:51 +0000
Seen: 14 times
Last updated: Jul 14 '23
How can GPU memory be shared among various Docker containers?
How can I eliminate a network that has been deleted from a Docker container?
Is it not possible to use composer with Docker container when using Laravel Sail?
How can I upload a docker container on a Cent Os 7 Linux server?
What are the steps for activating GitLab Container Registry and uploading docker image to it?
How can the issue "host not found in upstream" be resolved in Docker Networking with nginx?
How can the boolean variables be represented over time using a bar graph?