Magnus_P
Magnus_P

Reputation: 127

General error when starting new container

Not sure where to post general error questions for Bluemix Containers such as this one:

Error response from daemon: {
  "code": "IC5000E",
  "description": "Sorry, an error occurred on our side. Please reference the problem using the provided incident ID",
  "incident_id": "b241118fba37fe03",
  "name": "DefaultError",
  "rc": "500",
  "type": "General"
}

The docker containers works just fine when running it in my Digital Ocean droplet (standard Ubuntu server with docker 1.7.0). Get the same error using cf ic, docker and also get a general error when trying to start Bluemix web-UI.

Upvotes: 1

Views: 253

Answers (3)

Alaa Youssef
Alaa Youssef

Reputation: 56

Indeed -e "key1=value1 key2=value2 key3=value3" is wrong syntax. The right syntax is -e key1=value1 -e key2=value2 -e key3=value3

Upvotes: 0

Magnus_P
Magnus_P

Reputation: 127

Ok, it turns out that the error was the following:

 --env MQTT_URL="mqtt://somehost.example.org:1883" 

This used to work running it against Bluemix, but now it gives the general error, it works when running it "locally" using docker 1.7.0

The double-quote has to enclose the whole environment like this:

  -e "MQTT_URL=mqtt://somehost.example.org:1883" 

The only thing worth mentioning in addition to this is that the following syntax did NOT work:

--env "key1=val2 key2=val2"

That is how it should be according to the docs

-e ENV, --env ENV

(Optional) Set a number of environment variables where ENV is a key=value pair.

List multiple keys in quotation marks and separate them with spaces.

Example: -e "key1=value1 key2=value2 key3=value3"

Upvotes: 3

jpapejr
jpapejr

Reputation: 211

Please open a support ticket at http://ibm.biz/bluemixsupport and report the error and all details you have to provide.

Upvotes: 0

Related Questions