Saturday, December 6, 2014

Creating Swap File in CoreOS


     If you are using CoreOS, sometimes such situations arise when one or more docker containers do not have enough RAM. Especially if you are using vps with minimal configuration. In this case instead of changing your vps it's appropriate to use swap.
 

Thursday, December 4, 2014

Configuring the TeamCity Server on Ubuntu over SSH


    
 
     Nowadays, application development is usually done at a fast pace when many developers are working on the same part of code. Sometimes this becomes a real challenge if there’s no permanent control over consistency of the project source. Continuous Integration is a well-known life saver for distributed development environments with TeamCity being one of the best and easy-to-use instruments utilizing it. This article describes the process of installing and configuring the TeamCity CI server on Ubuntu 14.10. 

Tuesday, December 2, 2014

Stop / Remove All Docker Containers

Sometimes it is necessary to remove or stop all containers running on the machine. Here is the command for this task:

 docker stop $(docker ps -a -q)  
 docker rm $(docker ps -a -q)  

Wednesday, November 26, 2014

Running Multiple Websites on Single Docker Host


     It's known that containers, and specifically Linux containers, are not new. Tech giants such as Oracle, HP and IBM have been using containers for decades. In recent years, though, the open source project Docker has gained popularity as an alternative, or complement to virtualization. 

      One of the major benefits of containers is portability. Containers can run on top of virtual machines, or bare metal servers. They can run on-premises or in the cloud. This has made one of the earliest popular use cases of containers be around software development. Coders can write applications, place it in a container, and then the application can be moved across various environments, as it is encapsulated inside the container.