IBM Support

How to change docker images and containers location with Windows 2016 Server?

Question & Answer


Question

In many occasions, your C drive is typically small and/or you wish to install docker (images) off the C drive.

Answer

1. Install docker:
Install-Module DockerProvider -Force
Install-Package Docker -ProviderName DockerProvider -Force

2. Create the daemon.json (C:\ProgramData\docker\config)and set the data-root path as you wish

Example:
{
"data-root": "D:\\ProgramData\\Docker"
}


3. Restart the Docker Service

4. Install PAW -- .\Start.ps1
Note. You may also choose to test the Docker installation, first, by running: docker run hello-world:nanoserver

[{"Product":{"code":"SSD29G","label":"IBM Planning Analytics"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Planning Analytics Workspace","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"2.0.4;2.0.3;2.0.2","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 June 2018

UID

swg22014020