Skip to main content

Quectel GNSS samples received — ready for integration into the marine vessel monitoring system.

  It Started With a Hardware Limitation I have been using Quectel GNSS modules in my designs for a while. They are reliable, well-documented, and the support ecosystem is solid. But the module I had been using had one problem that I kept running into: no external antenna support . For most projects that is a minor inconvenience. For a marine vessel monitoring and control system , it is a non-starter. A vessel hull blocks sky view, antenna placement is critical, and the difference between a clean fix and no fix at all often comes down to whether you can mount the antenna where it actually has line of sight. An integrated antenna in a sealed enclosure below deck simply does not cut it. So I went directly to Quectel. The Conversation With Quectel I reached out through their official sample request channel. I was not expecting much — most component manufacturers have a standard process: fill out a form, wait, get a few uni...

Docker? what is it?

What is docker?

Docker is a set of platform as a service products that uses OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels

Difference between docker and virtual Machines


How to setup and run your first docker image?

First install the docker for your preferred operating system. I have done my setup on ubuntu and that's my preference. Here is official docker website link for supported platforms and how to proceed installation.

In docker you can run any microservices that you like and you can build your own images to run in the docker. Docker hub is a such a place which have thousands of images of microservices that can be run in seconds. By running docker you can run containers for each service you need to run. 

For example, if you want to run mysql, php, python, nodejs, or your flask application etc.. you need to just run a docker command to start and stop a container you like.

To check the images you already have you type the following command. The below screenshot will not be same for you, because I have multiple images which I have tested. For more images please visit Dockerhub


docker pull imagename

This command will pull the image from docker hub to your docker host


docker run imagename



Some basic commands

docker ps
docker ps command will show running containers. If nothing is running it will be empty 


docker ps -a
docker ps -a command will show both running and stopped containers.


docker run -i --rm --name viberbotz -p 5000:5000 viber-python

You can run container as simple as docker run imagename or complex with ports and storage etc. as above. 

viberbotz - this is just a name given to the container
5000:5000 - define the ports you want to expose
viber-python - this is image name which i build. You can give custom names when you build an image


I hope this will help and will help to anyone that would like to try docker or microservices. This is just basic commands and there are much more commands like docker build, docker start, docker stop  and etc. I haven't gone through all the commands. Please refer original docker documentations.

Conclusion

From docker you can run complex test environments or production environment with couple of YAML scripts by using docker file and docker composer, which is bit complex and that's for some another blogpost.

 

Comments