Unable to run Karaf script bin/client in Dockerfile

Solution Verified - Updated -


When trying to run a Karaf command using bin/client <command> in a Dockerfile, the call fails with error Closed written to the console.
This prevents one from building customized Docker images for Fuse on Karaf.

The problem does not exist on Fuse 7.2 or earlier.


  • Red Hat Fuse
    • 7.3 or higher
  • Docker environment
  • calling bin/client <command> in Dockerfile

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In