Cleaned up "docker insert".#1942
Conversation
|
cc @shykes, this issue was automatically assigned to you by Gordon |
There was a problem hiding this comment.
Do we really want the : Image created ? not sure if we want to be consistent with other commands.
In any case, could you keep using FormatStatus ?
out.Write(sf.FormatStatus(utils.TruncateID(img.ID), "Image created"))
|
Is this good to go? |
|
@dsissitka Has this been merged?!! Also, what is the averseness to allowing 'insert' of local files. It seems awkward that Docker would allow downloading files from internet and inserting them into images, but the local files are not allowed to be added to the images! |
|
Afraid not. I couldn't get the Docker folks to review it so I moved on. |
|
@dsissitka I apologize, we have been overwhelmed but are slowly but surely catching up on the backlog. Let's get this merged this week. /cc @vieux @crosbymichael |
|
@shykes Would it be a welcome feature to allow adding files from local machine, too. For now I am using the workaround of running a local static web server and then asking Docker to use a URL from that server to insert the local file. (and then of course kill the static web server). /cc @vieux @crosbymichael |
|
@dsissitka This looks good, but would you mind adding a couple of tests to enforce the behavior? |
|
assigning to me |
|
Afraid not. I no longer have a Docker development environment setup. |
|
@creack I could add the tests if you want. |
|
@mrallen1 This would be great indeed :) Thank you very much! |
|
Cool I will start working on it tonight. |
|
Closing in favor of #2603 |
Before, with Docker 0.6.2:
After:
Fixes #1130.