• United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.206

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Container shutsdown as soon as it is created.

504P7XQ0QD gravatar image
Question by Aditi_1109  (5) | Sep 14, 2017 at 02:11 AM containersdockeribmcloudcreatevolumes

Hi , I am trying to create a container on Bluemix. Steps followed:

  1. Create an image locally

  2. Push the image onto Bluemix

  3. Create a volume on Bluemix

  4. Create a container on Bluemix with the volume mounted on it .

Command for creating a container:

 bx ic run -m 512 --name container1--volume ibmodmdcvol:/opt/ibmsoftware registry.eu-gb.bluemix.net/bluemix_images/ibmodmdc:v1 v1 bash -c "tail -f /dev/null"

The container gets created, but it is in a shutdown state as soon as it is created. So, I am not able to upload anything on the container. I have even tried adding while true; do echo hello world; sleep 10;done at the end of the bx ic run command but that is also not helping.

Request you to please help me on the same.

Notes:

  • I am creating the above stuff on Docker terminal

  • I am able to create a container locally

  • The container is up and running on Bluemix when the volume is not mounted on it.

People who like this

  0   Show 1
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
120000G5ES gravatar image Bill Wentworth (2630) ♦   Sep 25, 2017 at 02:43 PM 0
Share

This same question was asked on Stack Overflow at the following URL: https://stackoverflow.com/questions/46392808/ibm-blumix-container-shuts-down-as-soon-as-it-is-created

1 reply

  • Sort: 
110000K169 gravatar image

Answer by Nathan_F (556) | Sep 21, 2017 at 12:17 PM

If you bx ic inspect the container in question, or check bx ic logs on that same container, do either show a bit more of what's happening there? Shutdown state usually means that it started, but then exited.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

158 people are following this question.

Answers

Answers & comments

Related questions

create volume fails 1 Answer

How do you add a volume to a container in the IBM Bluemix Docker cloud? 2 Answers

How to handle VOLUME on IBM Containers for Bluemix 2 Answers

Cant create volume for container 2 Answers

Can I Use The Private Docker Registry On Bluemix With Plain Docker? 2 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • DataPower
  • Decision Optimization
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges