The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

375972 (4) [Avatar] Offline
#1
logs.txt
[ 47 KB ]
Hi, I have a problem deploying the docker image from source code. I have attached the log file. Looks like the image name couldn't be found. Any help is appreciated. Thanks.

After issuing the following command:
ecs-cli compose --file docker/common/docker-compose.yml up

z00382545-mac:spmia-chapter10-master z00382545$ ecs-cli compose --file docker/common/docker-compose.yml up
INFO[0000] Using ECS task definition TaskDefinition="ecscompose-common:15"
INFO[0000] Starting container... container="1be60514-32af-4353-8e60-ba1ba0481027/authenticationservice"
INFO[0000] Starting container... container="1be60514-32af-4353-8e60-ba1ba0481027/configserver"
INFO[0000] Starting container... container="1be60514-32af-4353-8e60-ba1ba0481027/eurekaserver"
INFO[0000] Starting container... container="1be60514-32af-4353-8e60-ba1ba0481027/kafkaserver"
INFO[0000] Starting container... container="1be60514-32af-4353-8e60-ba1ba0481027/licensingservice"
INFO[0000] Starting container... container="1be60514-32af-4353-8e60-ba1ba0481027/organizationservice"
INFO[0000] Starting container... container="1be60514-32af-4353-8e60-ba1ba0481027/zuulserver"
INFO[0000] Describe ECS container status container="1be60514-32af-4353-8e60-ba1ba0481027/zuulserver" desiredStatus=RUNNING lastStatus=PENDING taskDefinition="ecscompose-common:15"
INFO[0000] Describe ECS container status container="1be60514-32af-4353-8e60-ba1ba0481027/configserver" desiredStatus=RUNNING lastStatus=PENDING taskDefinition="ecscompose-common:15"
INFO[0000] Describe ECS container status container="1be60514-32af-4353-8e60-ba1ba0481027/licensingservice" desiredStatus=RUNNING lastStatus=PENDING taskDefinition="ecscompose-common:15"
INFO[0000] Describe ECS container status container="1be60514-32af-4353-8e60-ba1ba0481027/eurekaserver" desiredStatus=RUNNING lastStatus=PENDING taskDefinition="ecscompose-common:15"
INFO[0000] Describe ECS container status container="1be60514-32af-4353-8e60-ba1ba0481027/authenticationservice" desiredStatus=RUNNING lastStatus=PENDING taskDefinition="ecscompose-common:15"
INFO[0000] Describe ECS container status container="1be60514-32af-4353-8e60-ba1ba0481027/organizationservice" desiredStatus=RUNNING lastStatus=PENDING taskDefinition="ecscompose-common:15"
INFO[0000] Describe ECS container status container="1be60514-32af-4353-8e60-ba1ba0481027/kafkaserver" desiredStatus=RUNNING lastStatus=PENDING taskDefinition="ecscompose-common:15"
INFO[0006] Stopped container... container="1be60514-32af-4353-8e60-ba1ba0481027/zuulserver" desiredStatus=STOPPED lastStatus=STOPPED taskDefinition="ecscompose-common:15"
INFO[0006] Stopped container... container="1be60514-32af-4353-8e60-ba1ba0481027/configserver" desiredStatus=STOPPED lastStatus=STOPPED taskDefinition="ecscompose-common:15"
INFO[0006] Stopped container... container="1be60514-32af-4353-8e60-ba1ba0481027/licensingservice" desiredStatus=STOPPED lastStatus=STOPPED taskDefinition="ecscompose-common:15"
INFO[0006] Stopped container... container="1be60514-32af-4353-8e60-ba1ba0481027/eurekaserver" desiredStatus=STOPPED lastStatus=STOPPED taskDefinition="ecscompose-common:15"
INFO[0006] Stopped container... container="1be60514-32af-4353-8e60-ba1ba0481027/authenticationservice" desiredStatus=STOPPED lastStatus=STOPPED taskDefinition="ecscompose-common:15"
INFO[0006] Stopped container... container="1be60514-32af-4353-8e60-ba1ba0481027/organizationservice" desiredStatus=STOPPED lastStatus=STOPPED taskDefinition="ecscompose-common:15"
INFO[0006] Stopped container... container="1be60514-32af-4353-8e60-ba1ba0481027/kafkaserver" desiredStatus=STOPPED lastStatus=STOPPED taskDefinition="ecscompose-common:15"


Best,
Le
375972 (4) [Avatar] Offline
#2
All right. Answers can be found in this thread:

https://forums.manning.com/posts/list/40999.page

Basically, you just need to set the BUILD_NAME to the following instead of TestManualBuild

export BUILD_NAME="chapter10-master-20170513183945-13"