Create a container
$ docker run --name=gw -dit pointio/gateway java -jar /gw.jar
Connect to the new "gw" container to get the new registration key. Note: You might have to hit the Enter Key twice
$ docker attach gw
Copy the registration key. Example Key: 7699402-d976-40d7-9fce-495778
Registering your gateway associates the appliance with an organization within the Point.io platform.
After you successfully register the gateway go back to the terminal and hit enter. You should see a successful registration message and your gw container is fully functional
Exit the "gw" container by pressing these keys Ctrl-P then Ctrl-Q which takes you back to the host terminal