Docker on aws ec2 instance os linux

Actual behavior

On a clean aws ec2 instance cloud resource once it is deployed by default some libraries are installed in this case java.

The question is checking the requirements to install docker on linux are mentioned in terms of the resources but in terms of libraries and sw , does java is require to have installed and running (java vm) to use docker on aws ec2 intances with os on linux?

The installation instructions contain everything you need. Every package you will install. But no, Java is not a dependency of Docker. It was written in Go.