Crédit Agricole interview question

How to create a docker image, what are the steps