Whenever I’m pulling containers from “hub.docker.com” for eg:- “docker pull node” or'docker pull selenium/node-chrome'or “docker pull selenium/node-firefox” etc,
I always get “latest: Pulling from library/node
image operating system “linux” cannot be used on this platform” error.
Aws Linux 2 Docker Image
This is a small post on how to start an exited docker container. If you are in IT space for a couple of years, you will know how Docker disrupted IT. Docker just changed many things and simplified many people’s work. In this post, we will see how to start an exited docker container.
- Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK). Corretto comes with long-term support that will include performance enhancements and security fixes.
- Amazon Web Services; Docker Hub; Setting up your computer. Getting all the tooling setup on your computer can be a daunting task, but thankfully as Docker has become stable, getting Docker up and running on your favorite OS has become very easy. Until a few releases ago, running Docker on OSX and Windows was quite a hassle.
- REDACTED@REDACTED:$ sudo journalctl -fu docker sudo password for REDACTED: - Logs begin at Mon 2019-01-07 03:12:50 UTC. Jan 08 10:38:11 185-20-227-19 systemd1: docker.service: Main process exited, code=exited, status=1/FAILURE Jan 08 10:38:11 185-20-227-19 systemd1: Failed to start Docker Application Container Engine.
- When you have docker for windows installed on win10 if has 1 modes. Windows container mode and linux container mode. You need to right click and switch to linux containers before you pull your selenium images.
Note: I have already selected “Switch to Windows Containers” present at the bottom of the window screen
Please find my docker version below and info:
PS C:WINDOWSsystem32> docker version
Client:
Version: 1.13.1
API version: 1.26
Go version: go1.7.5
Git commit: 092cba3
Built: Wed Feb 8 08:47:51 2017
OS/Arch: windows/amd64
Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.24)
Go version: go1.7.5
Git commit: 092cba3
Built: Wed Feb 8 08:47:51 2017
OS/Arch: windows/amd64
Experimental: true
INFO:
PS C:WINDOWSsystem32> docker info
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 2
Server Version: 1.13.1
Storage Driver: windowsfilter
Windows:
Logging Driver: json-file
Plugins:
Volume: local
Network: l2bridge l2tunnel nat null overlay transparent
Swarm: inactive
Default Isolation: hyperv
Kernel Version: 10.0 14393 (14393.693.amd64fre.rs1_release.161220-1747)
Operating System: Windows 10 Pro
OSType: windows
Architecture: x86_64
CPUs: 4
Total Memory: 11.8 GiB
Name: DIN****
ID: QLUF:HIJ6:B6U3***
Docker Root Dir: C:ProgramDataDocker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: -1
Goroutines: 18
System Time: 2017-02-27T11:40:03.4791032+05:30
EventsListeners: 0
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Any suggestion on this topic would really help.
Aws Linux 2 Docker
Thanks