Crédit Agricole Interview Question

How to create a docker image, what are the steps