[Week 21- Day 2] 회고

2022. 6. 7. 19:40About Me/AI Tech

# Docker Image 생성하기

1. Ubuntu 환경에서 PID 1 프로세스 찾기

 

Which Process Has PID 0 ? | Baeldung on Linux

Learn how to check running processes in Linux, what the PID 0 is, and the actual process that has PID 0.

www.baeldung.com

 

2. docker start 하기

service docker start

 

ERROR 상황: OpenBSD Restarting하고 진행이 안되면 아래 시도

 

Failed to start OpenBSD Secure Shell server error when I try to run apt-get or to install Ubuntu upgrades

I am on Ubuntu 16.04 LTS. I had ssh server running and it worked properly for many months, until one time when something cause it to fail. Now, I can't do regular Ubuntu updates from Canonical. I c...

askubuntu.com

 

 

++ Docker compose download on Ubuntu

 curl -L https://raw.githubusercontent.com/docker/compose-cli/main/scripts/install/install_linux.sh | sh

 

 

# GCP에 배포하기

 

Hello Cloud Run | Google Cloud Skills Boost

In this lab you'll learn how to get started with Cloud Run by deploying and running a stateless container serverless-ly (with the infrastructure abstracted away).

www.cloudskillsboost.google

 

 

 

 

## 피드백

requirements.sh 로 쓰기도 하고, requirements.txt 로 쓰기도 하면서 왜 이렇게 번갈아 사용하는 거지 생각했었다.

편하게 .sh 로 cli에서 사용하기 좋게 설정을 해두었는데, 어떤 라이브러리의 경우에는 --upgrade 등의 옵션이 필요한 경우도 있었다.

따라서 다음부터는 .txt로 사용해야 겠다.

 

 

 

 

 

 

 

반응형

'About Me > AI Tech' 카테고리의 다른 글

[Week 21- Day 3] 회고  (0) 2022.06.09
[Week 20- Day 5] 회고  (0) 2022.06.04
[Week 20- Day 4] 회고  (0) 2022.06.02
[Week 20- Day 2] 회고  (0) 2022.06.01
[Week 20- Day 1] 회고  (0) 2022.05.31