Skip to content
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.

Docker started up. #116

Open
PythonLinks opened this issue Jun 30, 2019 · 5 comments
Open

Docker started up. #116

PythonLinks opened this issue Jun 30, 2019 · 5 comments
Assignees

Comments

@PythonLinks
Copy link

Make sure you read and understand http://emqtt.io/docs/v2/index.html.
Use one of the two templates below and delete the rest.

DOCUMENTATION REQUEST

Missing feature

Improve the docker documentation You mention 3 ports. I am not quite sure what they do. Sure I can start it up, but I do not really know what I am doing.

Justification

if I knew what they do, it would be a lot easier to understand. It would stick to my brain much more easily.

Workarounds

I will fire it up, send my browser to all of the ports and see what happens. I guess 8080 is the web port.

@PythonLinks
Copy link
Author

I now know the cause of my confusion.
So what you need is a link to this page
https://developer.emqx.io/docs/broker/v3/en/guide.html#
From your docker hub page.

Instead I went to post the bug report page and saw

Make sure you read and understand http://emqtt.io/docs/v2/index.html.

Where I pocked around and missed the startup page.
A direct link to the startup page from the docker hub page would have helped.

  • IMROVED DOCUMENTATION REQUEST

First I should say that I suspect that your recommended docker command is not complete.
Below is the command I am currently using. It gets me to a login page.


BUG REPORT

Expected behavior

In the default anonymous mode, I did not expect to see a login screen.

Actual behavior

I get a long in screen on
http://dev.pythonlinks.info:18083

I left it up for you. Just changed the docker command from -it to -p

Test code

docker run --rm -it --name emqx -p 18083:18083 -p 1883:1883 \
-e EMQX_LISTENER__TCP__EXTERNAL=1883 \
-e EMQX_ALLOW_ANONYMOUS=true \
-e EMQX_LISTENER__SSL__EXTERNAL=8883 \
emqx/emqx:latest

EMQ version

Which branch are you on? If you know the Git revision then add it here as well.
emqx/emqx:latest

Docker version

Client:
 Version:           18.09.1
 API version:       1.39
 Go version:        go1.10.6
 Git commit:        4c52b90
 Built:             Wed Jan  9 19:35:59 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.1
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.6
  Git commit:       4c52b90
  Built:            Wed Jan  9 19:02:44 2019
  OS/Arch:          linux/amd64
  Experimental:     false
(pl2) ~/code/cromlech/emqx



How docker info?

Containers: 1
 Running: 1
 Paused: 0
 Stopped: 0
Images: 202
Server Version: 18.09.1
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9754871865f7fe2f4e74d43e2fc7ccd237edcbce
runc version: 96ec2177ae841256168fcf76954f7177af9446eb
init version: fec3683
Security Options:
 seccomp
  Profile: default
Kernel Version: 5.1.11-x86_64-linode127
Operating System: Debian GNU/Linux 9 (stretch)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.773GiB
Name: pythonlinks.info
ID: FV4S:4TDF:74XJ:LQ3G:WG7L:RQGO:QDRC:OEQV:664S:S5QF:CHBE:72N2
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Username: pythonlinks
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine

System

What system do you use?
Debian stretch

Hardware

Not sure. My ISP choose it.

How is the host machine?

Fine I think.

@PythonLinks
Copy link
Author

Sorry, I should have said that I left it running with the -d command, instead of the -it command.

Basically I am not sure how to get an anonymous login.

@PythonLinks
Copy link
Author

I kept reading and reading. Eventually I did find the login and password.

So all is good. As I said, it was neither a bug nor a feature request, just a request for better organized documentation.

thanks

@Rory-Z
Copy link
Contributor

Rory-Z commented Jul 10, 2019

Thank you for your feedback. We will update the document later.

@CHOMNANP
Copy link

I kept reading and reading. Eventually I did find the login and password.

So all is good. As I said, it was neither a bug nor a feature request, just a request for better organized documentation.

thanks

What is username and password?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants