// Creating a blueprint
class Person {
constructor(firstName, lastName) {
this.firstName = firstName;
this.lastName = lastName;
}
fullName() {
console.log(`${this.firstName} ${this.lastName}`);
}
}
const batman = new Person('Bruce', 'Wayne');
const robin = new Person('Dick', 'Grayson');
$ docker run
Image
Container
$ docker pull
$ docker run
$ docker run
Registry
Image
$ docker build
Dockerfile
Image