Bluemix port binding

Official instructions state the following:

    ice ip bind <Address> <Your_Container>

    where <Address> is the returned IP address.

Your application is set up and ready to use. If you used ibmliberty as
your base image in the Dockerfile, as in the previous example, you can
access your running IBM WebSphere® Application Server Liberty Profile
server by pointing your web browser to: http://:9080/

  • Running mysql in the foreground in centos
  • Secure gateway between Bluemix CF apps and containers
  • build contains unsupported option: 'ports'
  • jenkins pipeline after run unit test karma script do not stop
  • How can I run a command on an existing container in IBM Bluemix?
  • why shipyard docker container does not start?
  • I got the list of my IPs using “sudo ice ip list”.
    Then I tried to bind the IP using three different commands:

    user@comp:~$ sudo ice bind http://$ip/ $containerId
    user@comp:~$ sudo ice ip bind http://$ip:$port $containerId
    user@comp:~$ sudo ice ip bind http://$ip:$port $containerName

    But got the same error message:

    Target is container cloud. Invoking cloud service...
    usage: ice [-h] [--verbose] [--cloud | --local]
    ice: error: argument subparser_name: invalid choice: 'bind' (choose from 'login', 'tlogin', 'ps', 'run', 'inspect', 'logs', 'start', 'stop', 'restart', 'pause', 'unpause', 'rm', 'images', 'search', 'info', 'ip', 'help')

  • Auth0 OWIN API not validating JWT token when published via Docker Container on AWS EC2
  • docker-compose persisting folder empty
  • Docker commands fail in Cygwin — Docker service is up
  • Docker install in user home
  • Can't run python script with interpreter inside docker [Errno 13] Permission denied
  • Garbage collecting Docker registry using S3 is very slow
  • 2 Solutions collect form web for “Bluemix port binding”

    I was able to bind succesfully using following command syntax

    sudo ice ip bind $ip $containerName

    Contrary to official instructions the ip bind command does not like “http://” and “:port” arguments.

    Sorry about that. The team is working on getting the docs updated. Thanks for finding this!

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.