instruction: Create a Dockerfile for fundamentals
output: ```dockerfile
  from a different host/container.Override the default CMD and ENTRYPOINT with docker runYou can also override defaults directly using the docker run command with the following command:
  
  $ docker run -e POSTGRES_PASSWORD=secret postgres docker-entrypoint.sh -h localhost -p 5432
  This command runs a Postgres container, sets an environment variable for password authentication, overrides the default startup commands and configures hostname and port mapping.Additional resourcesWays to set environment variables with ComposeWhat is a containerNext stepsNow that you have learned about overriding container defaults, it's time to learn how to persist container data.Persisting container data
  Request changesTable of contentsExplanationOverriding the network portsSetting environment variablesRestricting the container to consume the resourcesTry it outRun multiple instances of the Postgres databaseRun Postgres container in a controlled networkManage the resourcesOverride the default CMD and ENTRYPOINT in Docker ComposeOverride the default CMD and ENTRYPOINT with docker runAdditional resourcesNext steps
  
  Product offerings
  Pricing
  About us
  Contribute
  Read llms.txt
  Cookies Settings
  
  Status
  Legal```