You can check that your agent is production-ready by switching your agent services in docker-compose.yml for services provided in base-compose.yml that do not have the dev label. These services do not mount your host volume to the container and are therefore more representative of a production-ready build. More info on how to do this here.
If it builds correctly with docker-compose up it should be OK to submit.
Step 2: Set up Docker Hub
If you haven't already, create a free Docker Hub account here.
Login from your terminal using the command docker login.
Step 3: Push the image to Docker Hub
Navigate to the working directory containing your agent's Dockerfile. Then run in your terminal: