Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multipart upload for build is no longer supported #16

Closed
pardon-the-pun opened this issue Aug 4, 2014 · 5 comments
Closed

Multipart upload for build is no longer supported #16

pardon-the-pun opened this issue Aug 4, 2014 · 5 comments
Labels
Milestone

Comments

@pardon-the-pun
Copy link

When I try to use the plugin to build the MySQL Dockerfile from your example, I get:

[INFO] 1 * Client out-bound request
1 > GET http://localhost:2375/v1.1.2/version
1 > Accept: application/json

[INFO] 1 * Client in-bound response
1 < 200
1 < Content-Type: application/json
1 < Job-Name: version
1 < Date: Sat, 02 Aug 2014 05:55:02 GMT
1 < Content-Length: 148
1 <
{"ApiVersion":"1.13","Arch":"amd64","GitCommit":"d84a070","GoVersion":"go1.2.1","KernelVersion":"3.15.3-tinycore64","Os":"linux","Version":"1    .1.2"}


[INFO] Docker version 1.1.2
[INFO] package mysql
[INFO] 2 * Client out-bound request
2 > POST http://localhost:2375/v1.1.2/build?t=hadoop_mysql
2 > Content-Type: application/tar
2 > Accept: text/plain
Dockerfile0100644 0000000 0000000 00000000523 12367641052 011605 0ustar000000000 0000000 FROM centos

#VOLUME /var/lib/mysql

RUN yum -y install mysql-server
RUN touch /etc/sysconfig/network

#RUN sed -i -e"s/^bind-address\s*=\s*127.0.0.1/bind-address = 0.0.0.0/" /etc/my.cnf

RUN service mysqld start &&  \
    sleep 5s && \
    mysql -e "GRANT ALL ON *.* to 'root'@'%'; FLUSH PRIVILEGES"

EXPOSE 3306

CMD ["/usr/bin/mysqld_safe"]



[INFO] 2 * Client in-bound response
2 < 500
2 < Content-Type: application/json; charset=utf-8
2 < Date: Sat, 02 Aug 2014 05:55:03 GMT
2 < Content-Length: 86
2 <
Multipart upload for build is no longer supported. Please upgrade your docker client.

As you can tell from this, I am running Docker version 1.1.2.

Is this a problem at my end, or am I missing something obvious?

@alexec
Copy link
Owner

alexec commented Aug 4, 2014

It looks like they've change the API. How's your Java?

On 4 August 2014 09:22, Jacob Bay Hansen [email protected] wrote:

When I try to use the plugin to build the MySQL Dockerfile from your
example, I get:

[INFO] 1 * Client out-bound request
1 > GET http://localhost:2375/v1.1.2/version
1 > Accept: application/json

[INFO] 1 * Client in-bound response
1 < 200
1 < Content-Type: application/json
1 < Job-Name: version
1 < Date: Sat, 02 Aug 2014 05:55:02 GMT
1 < Content-Length: 148
1 <
{"ApiVersion":"1.13","Arch":"amd64","GitCommit":"d84a070","GoVersion":"go1.2.1","KernelVersion":"3.15.3-tinycore64","Os":"linux","Version":"1 .1.2"}

[INFO] Docker version 1.1.2
[INFO] package mysql
[INFO] 2 * Client out-bound request
2 > POST http://localhost:2375/v1.1.2/build?t=hadoop_mysql
2 > Content-Type: application/tar
2 > Accept: text/plain
Dockerfile0100644 0000000 0000000 00000000523 12367641052 011605 0ustar000000000 0000000 FROM centos

#VOLUME /var/lib/mysql

RUN yum -y install mysql-server
RUN touch /etc/sysconfig/network

#RUN sed -i -e"s/^bind-address\s_=\s_127.0.0.1/bind-address = 0.0.0.0/" /etc/my.cnf

RUN service mysqld start &&
sleep 5s &&
mysql -e "GRANT ALL ON . to 'root'@'%'; FLUSH PRIVILEGES"

EXPOSE 3306

CMD ["/usr/bin/mysqld_safe"]

[INFO] 2 * Client in-bound response
2 < 500
2 < Content-Type: application/json; charset=utf-8
2 < Date: Sat, 02 Aug 2014 05:55:03 GMT
2 < Content-Length: 86
2 <
Multipart upload for build is no longer supported. Please upgrade your docker client.

As you can tell from this, I am running Docker version 1.1.2.

Is this a problem at my end, or am I missing something obvious?

Reply to this email directly or view it on GitHub
#16.

@pardon-the-pun
Copy link
Author

My Java is excellent :) I take this as an invitation to go fix the problem myself; which is fine with me. I'll take a crack at it over the next few days.

@alexec
Copy link
Owner

alexec commented Aug 5, 2014

Awesome! It's just HTTP and XML under the hood. You'll need my docker-java and docker-java-orchestration repos.

@alexec alexec added the bug label Aug 8, 2014
@alexec alexec added this to the 2.0.0 milestone Aug 8, 2014
@alexec
Copy link
Owner

alexec commented Aug 8, 2014

@alexec
Copy link
Owner

alexec commented Oct 29, 2014

I'm assuming this is no longer an issue, fixed in 2.x

@alexec alexec closed this as completed Oct 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants