Hello,
recently I had a need to execute CentOS image with bash. Following command proved helpful for me:
docker run -i -t --rm centos /bin/bash
Then at executed image you can do whatever you want. For example I had a need to validate DNS server activity.
For this purpose I had to find...
Hello everybody,
recently I've got a task to configure Bind9 on CentOS.
While doing this I have found some hardly documented features of CentOS.
File locations and defaults
By default bind9 is has name named. It means that you can start it with command systemctl. For example you can get status of...
Hello everybody,
today I want to share few words about usage of Wireshark and what it discovers about ping.
As usually everyboydy who want to check does he have internet connection tries to enter command prompt and ping some web site. If ping is successful then person believes he has internet con...
Hello everybody,
today I want to share another piece of code, that proved to be helpful for me in creating docker containers.
Here it is:
Start-Process c:\sdksetup.exe -ArgumentList '/Quiet /NoRestart' -Wait; \
First time when I seen it I was sceptical. Why I should use Start-Process instead of j...
Hello everybody,
today I want to present one more example of selectors, but the one, that has multiple fields in it.
Consider following code:
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using...
Hello everybody,
recently I had following issue:
copy folder dotnet-dev-win-x64.1.0.1 into c:\Program Files\Dotnet in container. After different dancing and triings I've found following command that worked:
COPY ["dotnet-dev-win-x64.1.0.1", "c:/Program Files/dotnet"]
Hello everybody,
recently I was asked by one friends of mine, how pageSource in Acumatica works, i.e. how to code/decode pagesource contents.
After different methods of trial and error I've created following C# code in order to code/decode pageSource:
Snippet
private static string...
Hello everybody,
today I want to describe some useful from my prospective commands for working with Nuget.
First of all, I want to say that you can work with Nuget as usually with usage of wizard, but if wizard fails for some unknown reason, console can give you interesting facts, that otherwise...
Hello everybody,
today I want to write few rakes of Dockerfile.
First of all I want to document how to install dot net sdk 1.1. It isn't installable by chocolatey, so I had to use following workaround:
RUN Invoke-WebRequest 'https://download.microsoft.com/download/1/1/4/114223DE-0AD6-4B8A-A8FB-16...
Hello everybody,
today I want to write a few words about Dockerfile.
So, as usually for developer it will not be enough just ordinary docker images. Quite often they need to add some more features to docker images. One of the useful ways to organize it can be creating Dockerfile.
Dock...