Basic setup of some custom debian images

I want to use docker and docker-compose on wsl to setup a handful of debian images, each with their own IP.

I did:

  1. docker pull debian (got the latest debian)
  2. docker run --name container1 -it debian
  3. ran some apt update and install’s
  4. exited

From here I want to

  1. configure networking so the container has some static IP
  2. create a user and get a shell as that user
  3. copy some files in
  4. save/push the image to my docker hub
  5. setup several containers to load from this image

is there a tl;dr somewhere. Perhaps a kind soul here that can offer up the magic commands?