So I have a nano that I bought for development. I just started trying to use docker-machine to log into an antlet with docker installed and build and deploy images for testing.
When building an image
the antlet's OS top
command shows that dockerd is using 40-50% of the total CPU
the nano's OS top
command shows that dockerd is using about 30-40% of the total CPU
antman tells me that the total CPU being used is 2-3%
The build is SSSSLLLOOOWWWW. It takes 30-40 minutes to build a simple node server running an angular app where on my own PC will build this image in 2-3 minutes, maybe 5 if I'm running too many other processes. The nano is a 4GB RAM with quad-core processor, if the only thing it's doing is running one VM for a docker process, shouldn't that VM be able to use all the resources that the host has to offer?
So my question is this; Is there a way to change the max CPU that a single image can use, so I can get more of the nano's resources in on building and running these test images?
So I have a nano that I bought for development. I just started trying to use docker-machine to log into an antlet with docker installed and build and deploy images for testing.
When building an image
the antlet's OS top
command shows that dockerd is using 40-50% of the total CPU
the nano's OS top
command shows that dockerd is using about 30-40% of the total CPU
antman tells me that the total CPU being used is 2-3%
The build is SSSSLLLOOOWWWW. It takes 30-40 minutes to build a simple node server running an angular app where on my own PC will build this image in 2-3 minutes, maybe 5 if I'm running too many other processes. The nano is a 4GB RAM with quad-core processor, if the only thing it's doing is running one VM for a docker process, shouldn't that VM be able to use all the resources that the host has to offer?
So my question is this; Is there a way to change the max CPU that a single image can use, so I can get more of the nano's resources in on building and running these test images?