This image consists of ubuntu 14.04 as base image.Installed default jre and jdk inside it.
222
This image supports two tags namely java and java_v2. when user pulls nagamani2408/ubuntu:java,local repository consists of jre and jdk in ubuntu 14.04 and DateTime.java file in it.when you compile it produces current date and time in IST.
Usage:docker run nagamani2408/ubuntu:java java DateTime Sample Output: Hello Nagamani Current Date and Time :2016.03.29 AD at 16:28:34 IST
when user pulls nagamani2408/ubuntu:java_v2,local repository consists of jre and jdk in ubuntu 14.04 and DateTime.java and FileCreation.java files in it.when you compile DateTime.java produces current date and time in IST.when you compile FileCreation.java creates a newfile.txt file,if file exits prints error message. Usage:docker run nagamani2408/ubuntu:java_v2 java FileCreation Output:Error, file already exists.
Content type
Image
Digest
Size
255.4 MB
Last updated
over 10 years ago
docker pull nagamani2408/ubuntu:java_v4