instruction: Create a Dockerfile for fundamentals
output: ```dockerfile
  from a packageUpgrade Docker EngineInstall using the convenience scriptInstall pre-releasesUpgrade Docker after using the convenience scriptUninstall Docker EngineNext stepsTo get started with Docker Engine on CentOS, make sure you
  meet the prerequisites, and then follow the
  installation steps.PrerequisitesOS requirementsTo install Docker Engine, you need a maintained version of one of the following
  CentOS versions:CentOS 9 (stream)The centos-extras repository must be enabled. This repository is enabled by
  default. If you have disabled it, you need to re-enable it.Uninstall old versionsBefore you can install Docker Engine, you need to uninstall any conflicting packages.Your Linux distribution may provide unofficial Docker packages, which may conflict
  with the official packages provided by Docker. You must uninstall these packages
  before you install the official version of Docker Engine.
  
  $ sudo dnf remove docker \
   docker-client \
   docker-client-latest \
   docker-common \
   docker-latest \
   docker-latest-logrotate \
   docker-logrotate \
   docker-engine
  dnf might report that you have none of these packages installed.Images, containers, volumes, and networks stored in /var/lib/docker/ aren't
  automatically removed when you uninstall Docker.Installation methodsYou can install Docker Engine in different ways, depending on your needs:You can
  set up Docker's repositories and install
  ```