Sign inSign up

lparet/docker-ubuntu-java8

By lparet

Updated over 8 years ago

Docker container with Ubuntu 16.04 LTS and java8

Image
1

865

lparet/docker-ubuntu-java8 repository overview

= Docker container with Java8

This repository contains configurations to create a Docker container with:

  • Ubuntu 16.04
  • Java8

== Getting Started

=== Prerequisites

You have to install Docker and Docker Compose (optional) to build and run this container.

=== Pull container

You can download this container from DockerHub by launching this command :

[source,bash]

docker pull lparet/docker-ubuntu-java8

It will download the latest version.

=== Run container

==== Prerequisites

.docker-compose.yml

services: docker-ubuntu-java8: image: lparet/docker-ubuntu-java8 container_name: ubuntu-java8 restart: always

After, you can change:

  • The container name.

==== Running

You can use docker-compose.yml:

[source,bash]

docker-compose up -d

It will run your container with parameters specified in the file.

OR

You can use docker run command:

[source,bash]

docker run -it --name ubuntu-java8

== Author

Louis Paret - [email protected]

Tag summary

Content type

Image

Digest

Size

460.3 MB

Last updated

almost 9 years ago

docker pull lparet/docker-ubuntu-java8