Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Missing Dockerfile does not cause error #10

Open
kalantar opened this issue Nov 11, 2014 · 0 comments
Open

Missing Dockerfile does not cause error #10

kalantar opened this issue Nov 11, 2014 · 0 comments

Comments

@kalantar
Copy link

I pushed a project that did not have a Dockerfile. The docker log (cf. /var/log/upstart/docker.log) below (actual names replaced by variables) shows the error. However, it appears that boatyard ignored the error and proceeded to try and push the image.

2014/11/11 07:27:47 POST /v1.10/build?nocache=true&t=REGISTRY:5000/USER/TAG
[af6a3213] +job build()
Can't build a directory with no Dockerfile
[af6a3213] -job build() = ERR (1)
[error] server.go:1048 Error making handler: Can't build a directory with no Dockerfile
[error] server.go:90 HTTP Error: statusCode=500 Can't build a directory with no Dockerfile
2014/11/11 07:27:48 POST /v1.10/images/REGISTRY:5000/USER/TAG/push
[af6a3213] +job push(REGISTRY:5000/USER/TAG)

A sequence of calls to the boatyard status API (only the value of the "Status" property is shown) does not indicate any problem:

curl http://BOATYARD_SERVER:80/api/v1/2ee0952b-9dc8-448b-592a-32f8cc5318b7/status
Tue Nov 11 13:26:20 UTC 2014>>
Tue Nov 11 13:26:51 UTC 2014>> Finished

The logs don't seem very helpful either.

curl http://BOATYARD_SERVER:80/api/v1/2ee0952b-9dc8-448b-592a-32f8cc5318b7/logs
{
  "Logs": "Fetching logs..."
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant