This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Umbrella bug for Docker support bugfixes/enhancements | ||
---|---|---|---|
Product: | cnd | Reporter: | ilia |
Component: | -- Other -- | Assignee: | ilia |
Status: | NEW --- | ||
Severity: | normal | Keywords: | UMBRELLA |
Priority: | P3 | ||
Version: | Dev | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 262401, 270166, 269237, 269768, 269936, 270180 | ||
Bug Blocks: |
Description
ilia
2017-03-22 13:23:51 UTC
The problem with connecting to remote Docker was fixed in change set: http://hg.netbeans.org/cnd-main/rev/4c4f992549bc Passing build-time arguments was implemented in change set: http://hg.netbeans.org/cnd-main/rev/680eedf6ad16 Mounting volumes was implemented in change sets: http://hg.netbeans.org/cnd-main/rev/08583b83e740 http://hg.netbeans.org/cnd-main/rev/ae0fac1b4a45 (small fix) Displaying port bindings of a running container was implemented in change set: http://hg.netbeans.org/cnd-main/rev/c5d4ff42f7d8 TODO: [1] fix typo in docker wizard: "... docker d_e_amon" [2] On "Build Image" step automatically fill "Name" column with parsed variable names and Value column with pre-defined values in dockerfile. Note: seems that we have only Docker Lexer. Maybe it's easier just to grep ARG from Dockerfile [3] Fix NPE: java.lang.NullPointerException at org.netbeans.modules.docker.api.DockerAction.getDetail(DockerAction.java:360) at org.netbeans.modules.docker.ui.node.StatefulDockerContainer$2.run(StatefulDockerContainer.java:130) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058) (when building an image on a remote host) [4] (questionable) Print HTTP requests we send to docker daemon. Situation: I receive (400:Bad request) as a response. But I don't know what was the request. [5] NPE java.lang.NullPointerException at org.netbeans.modules.docker.api.DockerImage.<init>(DockerImage.java:73) at org.netbeans.modules.docker.api.DockerAction.getImages(DockerAction.java:168) at org.netbeans.modules.docker.ui.node.DockerImagesChildFactory.createKeys(DockerImagesChildFactory.java:112) at org.openide.nodes.AsynchChildren.run(AsynchChildren.java:215) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058) As a result we don't see an image we just created, even after refresh. [5] happens if we have an image with empty TAG [6] Run image. Modal progress bar appears. Should use a simpler one (at least do not grey-out the IDE) [7] I can't go further than "Test Connection" because request fails with "HTTP/1.0 500 handshakefailed" (HttpUtils.readResponce:81) Partially fixed bug, safe to push partial fixes. https://netbeans.org/bugzilla/show_bug.cgi?id=270168 Changesets: http://hg.netbeans.org/releases/rev/768390e906f6 # Fixing #270168 - Umbrella bug for Docker support bugfixes/enhancements. [1] is fixed by Danila Integrated into 'main-silver', will be available in build *201704140002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f9ea8568b77a User: Ilia Gromov <ilia@netbeans.org> Log: Fixing #270168 - Umbrella bug for Docker support bugfixes/enhancements. [3] NPE (port bindings) (transplanted from 768390e906f68d17ebe8d29d4b2ab171fa0f873d) [8] Print Run / Build command at the very first line of output [9] Introduce different sort methods for images/containers (the order of "docker images" show images is different form the order in Services node. Same for containers). Integrated into 'main-silver', will be available in build *201704160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/fa490a2433a2 User: Ilia Gromov <ilia@netbeans.org> Log: Fixing #270168 - Umbrella bug for Docker support bugfixes/enhancements. [8] Print Run / Build command at the very first line of output [10] Clean-up code (auto-format, imports,...) [11] Add pause/stop button to the running container output [12] Check if attaching to the docker container opens Terminal, not output window. Integrated into 'main-silver', will be available in build *201704210002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ea42c3f750b4 User: Ilia Gromov <ilia@netbeans.org> Log: Fixing #270168 - Umbrella bug for Docker support bugfixes/enhancements. [2] On "Build Image" step automatically fill "Name" column with parsed variable names and Value column with pre-defined values in dockerfile. |