>>>>> Steinar Bang <[email protected]>: > 5. Tried the command "docker run apache/karaf:4.28" which worked better
Adjusted that command slightly: docker run -p 8101:8101 and then I was able to ssh in locally on the docker container with ssh -p 8101 karaf@localhost after first SSH-ing in with the provided command line (the container identificator is the username in SSH, so it wasn't possible to ssh directly in to karaf). Hm... with the 4.2.8 ssh copy/paste issues maybe 4.2.7 would have been a better choice? I need to paste in some commands to load my test application. And how do I get HTTP out of play-with-docker? SSH port forwarding or the "Open port" button? I tried the "Open port" button on port 8101 and it looked like that failed because it expected HTTP and found SSH SSH-2.0-SSHD-CORE-1.7.0 Unsupported protocol version: GET / HTTP/1.1 So I guess "Open port" can open an HTTP connection.
