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


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

Re: Container Overview for Java Programmers

From Wayne <wayne@nospam.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Container Overview for Java Programmers
Date 2021-12-31 16:54 -0500
Organization A noiseless patient Spider
Message-ID <sqnu6f$i36$1@dont-email.me> (permalink)
References <spqnuu$op$1@dont-email.me> <sqk9el$gqn$1@dont-email.me>

Show all headers | 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