Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.