title: Dropping container with RabbitMQ in Docker
body: <p>I try to start a Docker container with RabbitMQ, as a result, the image is downloaded, but the container does not start. I get the following message in the logs:</p>
  <pre><code>error: RABBITMQ_DEFAULT_PASS is set but deprecated
  error: RABBITMQ_DEFAULT_USER is set but deprecated
  error: RABBITMQ_DEFAULT_VHOST is set but deprecated
  error: RABBITMQ_ERLANG_COOKIE is set but deprecated
  error: deprecated environment variables detected
  </code></pre>
  <p>This problem appeared recently, before that everything worked fine and started.</p>
  <p>This is my docker-compose rabbit:</p>
  <pre><code>rabbit:
      image: &quot;rabbitmq:3-management&quot;
      hostname: &quot;rabbit&quot;
      environment:
          RABBITMQ_ERLANG_COOKIE: 'SWQOKODSQALRPCLNMEQGW'
          RABBITMQ_DEFAULT_USER: 'user'
          RABBITMQ_DEFAULT_PASS: 'bitnami'
          RABBITMQ_DEFAULT_VHOST: '/'
      ports:
          - &quot;15672:15672&quot;
          - &quot;5672:5672&quot;
      labels:
          NAME: &quot;rabbitmq&quot;    
      networks:
          - postgres
  </code></pre>