Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-11003

Karaf script bin/client fails to run in Dockerfile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • fuse-7.3, fuse-7.3.1
    • Karaf
    • Running bin/client in Dockerfile

    • -
    • Hide
      • save attached Dockerfile to a temporary directory
      • copy Fuse 7.3 or 7.3.1 zip file to the same directory
      • docker build --rm -t entesb11003 .
      • the command to run bin/client list will fail with
              Calling bin/client
              Closed
              The command '/bin/sh -c bin/start && sleep 30 && echo "Calling bin/status" && bin/status && echo "Calling bin/client" && bin/client list && sleep 5 && echo "Calling bin/stop" && bin/stop' returned a non-zero code: 1
      
      Show
      save attached Dockerfile to a temporary directory copy Fuse 7.3 or 7.3.1 zip file to the same directory docker build --rm -t entesb11003 . the command to run bin/client list will fail with Calling bin/client Closed The command '/bin/sh -c bin/start && sleep 30 && echo "Calling bin/status" && bin/status && echo "Calling bin/client" && bin/client list && sleep 5 && echo "Calling bin/stop" && bin/stop' returned a non-zero code: 1

      When trying to run bin/client <some argument> in a Dockerfile, it fails each time with

      Closed
      The command '/bin/sh -c bin/start && sleep 30 && bin/client list && sleep 5 && bin/stop' returned a non-zero code: 1
      

      This works on older versions like 7.2.0

        1. Dockerfile
          3 kB
          Torsten Mielke

              yfang@redhat.com Freeman(Yue) Fang
              rhn-support-tmielke Torsten Mielke
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: