How to print only container ID in 'docker container ls' command
Use�--format '{{.ID}}'
:
docker-container-ls.sh
docker container ls --format '{{.ID}}'
Check out similar posts by category:
Docker
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow