Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #39718

Re: Container Overview for Java Programmers

Path csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From Wayne <wayne@nospam.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Container Overview for Java Programmers
Date Fri, 31 Dec 2021 16:54:22 -0500
Organization A noiseless patient Spider
Lines 41
Message-ID <sqnu6f$i36$1@dont-email.me> (permalink)
References <spqnuu$op$1@dont-email.me> <sqk9el$gqn$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Fri, 31 Dec 2021 21:54:23 -0000 (UTC)
Injection-Info reader02.eternal-september.org; posting-host="dae1eac67e0befe1fd7644e473e39ba9"; logging-data="18534"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+vUKwY2cr+LPhDTzSWnXiqiOffHsFKx28="
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1
Cancel-Lock sha1:0kJOKepUa5YLMxuWRf7IxBpf4bU=
In-Reply-To <sqk9el$gqn$1@dont-email.me>
Content-Language en-US
Xref csiph.com comp.lang.java.programmer:39718

Show key headers only | View raw


On 12/30/2021 7:41 AM, Daniele Futtorovic wrote:
> 
> On 2021-12-20 21:10, Wayne wrote:
>  > It is not unusual to have a container with all your build tools and
>  > development environment, including all testing and code review tools.
>  > To work
>  > on software, you would launch your IDE in this container.  The output is
>  > used
>  > to build the containerized app (a separate container).  This method ensures
>  > all developers use the exact same development environment, and that this
>  > environment can be recreated exactly, years later if needed, to update
>  > old code.
>  >
>  > CI/CD setups make such work-flows nearly painless: you fire up your
>  > containerized IDE, work on code, and do a push to the shared repo when
>  > ready.
>  > Every other step (except for human code review) is or can be automated.
> I've seen many cases where the build/test phase would be executed inside a container. 
> The build might yield an executable or an image for runtime container.
> 
> But I've never seen the case where the development itself ("launch your IDE in a 
> container") would take place in a container. Can people confirm that this is an 
> established practice? Docker containers generally don't have display ports...
> 
>  > Currently Linux is required.  You can use Docker on Windows by running a
>  > Linux
>  > VM that in turn runs all the containers.
> Docker is supported on Windows 10 and MacOS.
> 

The thing is, Linux containers *do* support running GUIs from containers, but
I don't think native Windows containers do (at least not yet).  You could also
use a VM for development instead of a container, and I've heard of that (using
Vagrant), but containers with Eclipse, STS4, or IntelliJ are smaller and
faster to launch, so that makes them a better choice.  But to be honest, I
cannot find my references to someone claiming to do this; I just remember
reading about it.

-- 
Wayne

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Container Overview for Java Programmers Wayne <wayne@nospam.invalid> - 2021-12-20 15:10 -0500
  Re: Container Overview for Java Programmers Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2021-12-30 13:41 +0100
    Re: Container Overview for Java Programmers Wayne <wayne@nospam.invalid> - 2021-12-31 16:54 -0500
      Re: Container Overview for Java Programmers Michael Jung <miju@nospam.invalid> - 2022-01-06 20:16 +0100
        Re: Container Overview for Java Programmers Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2022-01-10 17:47 +0100
          Re: Container Overview for Java Programmers Martin Gregorie <martin@mydomain.invalid> - 2022-01-10 16:58 +0000
            Re: Container Overview for Java Programmers Michael Jung <miju@golem.phantasia.org> - 2022-01-15 22:59 +0100
    Re: Container Overview for Java Programmers Joerg Meier <joergmmeier@arcor.de> - 2022-01-04 10:51 +0100

csiph-web