[JAVA] Try Alfresco 6.0 on Windows (Docker will be introduced at the same time)

Alfresco is the latest version and is now distributed as a Docker image. It's easier in terms of trials, but you may not know what to do if you're not familiar with Docker in the first place. Since my machine is Windows 10 Pro, I will try to make it locally.

Insert Docker

Insert Docker. The Docker environment on Windows is trouble-free. There are currently two options.

There are some restrictions, and you need to choose one based on that.

  1. If you need a VirtualBox environment, Docker Toolbox Hyper-V and VirtualBox cannot coexist. If you want to run the old Alfresco separately on VirtualBox, Docker Toolbox is better. There is a way to make the old Alfresco into a Docker image, but if you can do that, Docker for Windows is fine.

  2. If the OS is Windows 10 Home, Docker Toolbox Windows 10 Home doesn't have Hyper-V, so it's inevitably a Docker Toolbox.

  3. Docker Toolbox if you want to use minikube This time it's just Docker, but if you're thinking of trying it out easily with the local version of Kubernetes, minikube, Docker Toolbox seems to be more stable.

Although it is a small difference, the default IP when accessing from the host (such as when accessing with a browser) differs between Docker Toolbox and Docker for Windows.

After installing Docker, save an account for DockerHub. This is necessary because Alfresco images etc. are downloaded from there.

Once you have an account, log in from the command line (if -p is unacceptable for security, use only one and enter from standard input)

docker login -u username -p password

By the way, the command line environment can be used from standard PowerShell, but I use Git Bash because it is easy to use.

Start Alfresco

Get Alfresco. There is Docker Compose configuration files on GitHub, so clone it using the Git client.

git clone https://github.com/Alfresco/acs-community-deployment.git

In the cloned ʻacs-community-deployment / docker-compose` folder,

docker-compose up

To do.

All the required containers should be started and Alfresco should be up. Access from a browser and check.

In addition, it should be noted

These IP addresses are ... On a Mac, hosts is rewritten at startup, so it seems that an alias may be entered (?), But that is unlikely in a Windows environment. So, look at the resident Docker Descktop (for Docker for windows) or the control panel network. It seems that a virtual adapter is created there and the IP is set. Please refer to it.

Postscript:

For those who will be introduced to Ubuntu, this article by nico of the open source police will be helpful.

Recommended Posts

Try Alfresco 6.0 on Windows (Docker will be introduced at the same time)
Try Docker on Windows 10 Home
Try Docker on Windows Home (September 2020)
Try the Docker environment on AWS ECS
Command to try using Docker for the time being
M.S. docker on Windows
Try Alfresco 6.0 on Windows (Docker will be introduced at the same time)
Behavior noticed when adding RadioButton and initial check at the same time in code
Install docker and docker-compose on ubuntu in the shortest process
[Spring Boot] Post files and other data at the same time [Axios]
Draw a bar graph and a line graph at the same time with MPAndroidChart
Put Zabbix in Ubuntu with Docker and monitor Docker on the same host
[Terraform] When I try to build an Azure resource on a Windows machine, it will time out, so I solved it with Docker.
Time is wrong with the application launched on the Docker container
Install Docker on Windows 10 PRO
Setting to start multiple units at the same time with Vagrant
Lock_version may be used for tables that tend to access and edit the same record at the same time