Hello,
Right now, I have three environments, two on docker and one on server. For this, I want to deploy similarly in this environment.
My problem, I can not ssh connection to ip:
ssh root@172.18.0.8 ssh: connect to host 172.18.0.8 port 22: Connection refused
get ip:
docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' test-alfresco-1 172.18.0.8
in:
docker exec -it test-alfresco-1 /bin/bash
not problem.
Docker / Docker Compose creates an internal network that is only accesible from containers.
So this 172.x ips cannot be accessed from your host.
Making changes in a container is not recommended (possible?), so I'm not sure why you want to access the container using ssh.
Hello,
I want install amp ´s in enviroment. For this, I necesite connect with ssh, to replicate the enviroment.
Thank´s
For installing of amp use custom image by making Dockerfile.
For permanent tests use docker exec command without create bash session
docker compose exec alfresco java -jar alfresco-mmt.jar install example-amp.amp alfresco.war -verbose
or with creation bash session and run multiple commands.
docker compose exec -it alfresco bash
The second way is clouse to ssh session.
p.s. container is not a virtual machine
Hello,
Thist I sabe. The problem, its connect ssh, and diferents sistems, with ssh.
Thank´s.
You don't need to use SSH to install AMPS or JARS.
Take a look at this project to learn how to apply addons to Alfresco and Share Docker Images:
https://github.com/alfresco/alfresco-docker-installer
Hello,
I have to equalize the environments, but the problem it´s alfresco docker don´t have ssh.
May you define the term "equalize"?
May you elaborate additionally on why SSH is a requirement for that?
Thanks
I want equal´s deploy in diferents enviroments.
Thank´s
This is one of the main features of Docker Compose: deploying exactly the same version of services with the same customizations (addons, plugins, configuration...) in any environment.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.