Thank you for attending DockerCon 2020!Watch the recordings.
✕
Explore
Pricing
Sign In
Explore
rocket.chat

rocket.chat

Docker Official Images
The Complete Open Source Chat Solution
50M+
Container Linux x86-64 Official Image
Copy and paste to pull this image
View Available Tags
DescriptionReviewsTags

Quick reference

  • Maintained by: Rocket.Chat

  • Where to get help: the Docker Community Forums, the Docker Community Slack, or Stack Overflow

Supported tags and respective Dockerfile links

  • 3.3.3, 3.3, 3, latest
  • 2.4.12, 2.4, 2

Quick reference (cont.)

  • Where to file issues: https://github.com/RocketChat/Docker.Official.Image/issues

  • Supported architectures: (more info) amd64

  • Published image artifact details: repo-info repo's repos/rocket.chat/ directory (history) (image metadata, transfer size, etc)

  • Image updates: official-images PRs with label library/rocket.chat
    official-images repo's library/rocket.chat file (history)

  • Source of this description: docs repo's rocket.chat/ directory (history)

Rocket.Chat

Rocket.Chat is a Web Chat Server, developed in JavaScript, using the Meteor fullstack framework.

It is a great solution for communities and companies wanting to privately host their own chat service or for developers looking forward to build and evolve their own chat platforms.

logo

How to use this image

First, start an instance of mongo and initiate replicaSet:

$ docker run --name db -d mongo:4.0 --smallfiles --replSet rs0 --oplogSize 128
$ docker exec -ti db mongo --eval "printjson(rs.initiate())"

Then start Rocket.Chat linked to this mongo instance:

$ docker run --name rocketchat --link db --env MONGO_OPLOG_URL=mongodb://db:27017/local -d rocket.chat

This will start a Rocket.Chat instance listening on the default Meteor port of 3000 on the container.

If you'd like to be able to access the instance directly at standard port on the host machine:

$ docker run --name rocketchat -p 80:3000 --link db --env ROOT_URL=http://localhost --env MONGO_OPLOG_URL=mongodb://db:27017/local -d rocket.chat

Then, access it via http://localhost in a browser. Replace localhost in ROOT_URL with your own domain name if you are hosting at your own domain.

If you're using a third party Mongo provider, or working with Kubernetes, you need to override the MONGO_URL environment variable:

$ docker run --name rocketchat -p 80:3000 --env ROOT_URL=http://localhost --env MONGO_URL=mongodb://mymongourl/mydb --env MONGO_OPLOG_URL=mongodb://mymongourl:27017/local -d rocket.chat

Check our docs

For full documentation on production deployment best practices, please visit https://rocket.chat/docs/installation/docker-containers/

Need some help? Join our community forums https://forums.rocket.chat

License

View license information for the software contained in this image.

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

Some additional license information which was able to be auto-detected might be found in the repo-info repository's rocket.chat/ directory.

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.

Why Docker
OverviewWhat is a Container
Products
Product Overview
Product Offerings
Docker DesktopDocker Hub
Features
Container RuntimeDeveloper ToolsDocker AppKubernetes
Developers
Getting StartedPlay with DockerCommunityOpen SourceDocsHub Release Notes
Company
About UsResourcesBlogCustomersPartnersNewsroomEvents and WebinarsCareersContact Us
© 2020 Docker Inc. All rights reserved | Terms of Service | Privacy | Legal