title: How to run schema registry container for sasl plain kafka cluster
body: <p>I want to run the cp-schema-registry image on AWS ECS, so I am trying to get it to run on docker locally. I have a command like this:</p>
  <pre><code>docker run -e SCHEMA_REGISTRY_HOST_NAME=schema-registry \
  -e SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS=&quot;1.kafka.address:9092,2.kafka.address:9092,3.kafka.address:9092&quot; \
  -e SCHEMA_REGISTRY_KAFKASTORE_SECURITY_PROTOCOL=SASL_PLAINTEXT \
  confluentinc/cp-schema-registry:5.5.3
  </code></pre>
  <p>(I have replaced the kafka urls).</p>
  <p>My consumers/producers connect to the cluster with params:</p>
  <pre><code>[&quot;sasl.mechanism&quot;] = &quot;PLAIN&quot;
  [&quot;sasl.username&quot;] = &lt;username&gt;
  [&quot;sasl.password&quot;] = &lt;password&gt;
  </code></pre>
  <p>Docs seem to indicate there is a file I can create with these parameters, but I don't know how to pass this into the docker run command. Can this be done?</p>