Center an image by adding the utility classes .mx-auto (margin:auto) and .d-block (display:block) to the image: