Can such a thing be done ? I am a little confused due to the new IP assinged to me being 0.0.0.0 while inside the image. So I pretty much donnot know what credentials should I use to ftp into it.
Is your goal to simply copy files in and out of the docker container, or is there some reason to use ftp?
Can someone help me please ?
It seems that it doesnt accept ftp connections when inside the image
You can use SFTP - just connect on port 22 (if Filezilla) with user
root and the password you set.
Sorry to say but if I sftp to eth0 it doesnt reveal the /var/www/discourse/ folder . I am talking about the folder that appears when I run the command “./launcher ssh app” . On the other hand I cant sftp Docker0 . can you do such thing ?
Oh, place files in
/var/docker/shared (and then in the
standalone folder if that exists) and they will show up in
/shared inside the container.
Is there any way one can ftp inside the /www/ ?
Basically I need a way to manipulate the files realtime like I was doing before
I have trying adding vagrant into the mix , but it seems to be irrelevant , since it can only be used with a gui [VirtualBox]
Anything not in
/var/docker/shared will be deleted when you upgrade or rebuild (database excluded.) You’ll want to look into using plugins to make core changes to discourse, as those won’t be deleted.
Os there a way for me to share /www/ as well though? I am aware of the backup practices that I have to take in order to not lose data. It could really come in handy if I can have that folder shared and available as well.
You can sftp into port 2222 on the server. You have to use the SSH key generated for the root user on the actual machine.
This is not a good idea; if you want to tool around with the files on discourse you should set up the development environment.
do I use Docker0 inetd for that ? cause it seems not to work that way
Found the solution. You can close it