# A Docker with Ubuntu and a Docker with Java

**URL:** <https://forums.docker.com/t/a-docker-with-ubuntu-and-a-docker-with-java/54313>\
**Category:** General\
**Created:** [July 18, 2018, 11:39am UTC](https://forums.docker.com/t/a-docker-with-ubuntu-and-a-docker-with-java/54313 "2018-07-18T11:39:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlanzino](https://avatars.discourse-cdn.com/v4/letter/m/96bed5/32.png) [@mlanzino](https://forums.docker.com/u/mlanzino)\
**Post date:** [July 18, 2018, 11:39am UTC](https://forums.docker.com/t/a-docker-with-ubuntu-and-a-docker-with-java/54313/1 "2018-07-18T11:39:06Z")

</div>

Hey, i’m a new user.

I wuould like to have 2 different Dockers.

The first Docker is a linux one and in the second i would install java jdk.

At all i would that the two Docker can cooperante, so if i have a .jar on the first i can use the jdk on the second one.

Thanks a lot.
