Setting development environment

docker

(Yoni Stoffman) #1

Hey,
I’m in the process of evaluating Discourse. It is very important to me to be able to develop set of plugins and enhancement (that will later be released as open source of-course)

It was easy to set up everything and get Docker to run. However I was unable to connect to the machine using SSH. I thought it would be best to use SSHFS to mount the remote file system and develop from my pc (ubuntu 14.04)

I can log into the Docker using “sudo docker exec -i -t a15136bbd119 bash” but if I try to SSH it failed with

debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Trying private key: /root/.ssh/id_ecdsa
debug1: Trying private key: /root/.ssh/id_ed25519
debug1: Next authentication method: password
root@localhost’s password:
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.

I know I’m using the correct password ( I set it my self)

  1. What am I doing wrong?
  2. Is there a better way (without installing everything locally) to set up a development environment ?

p.s.
I followed Discourse Meta but it didn’t work…

Thanks,


(Dave McClure) #2

what kind of machine are you on?

try taking a look at these topics for mac or linux:

for windows, you probably want to work in a linux vm or use the vagrant image.